freebsd-ports/multimedia/vdr-plugin-osdpip/files/patch-ffmpeg1
Ben Woods 1c3021d406 multimedia/vdr-plugin-osdpip:
- Update to 0.1.2
- Add patch to fix build with FFmpeg 3.0.x once it lands in ports tree
- Add LICENSE and LICENSE_FILE
- Add DOCS option and post-install-DOCS-on target
- Remove obsolete patches for i18n.h, receiver.c and part of Makefile
- Merge patch-vdr-osdpip-0.1.0 into patch-Makefile
- Reformulate remaining patches to not require PATCH_STRIP=-p1
- Fix WWW in pkg-descr

Changes this release:
  https://projects.vdr-developer.org/news/184

Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D6806
2016-06-11 17:14:48 +00:00

26 lines
778 B
Text

Index: decoder.h
===================================================================
--- decoder.h.orig
+++ decoder.h
@@ -34,7 +34,7 @@ extern "C"
#include <libavcodec/avcodec.h>
#ifdef USE_SWSCALE
#include <libswscale/swscale.h>
- #include <libavcodec/opt.h>
+ #include <libavutil/opt.h>
#endif
#else
#include <ffmpeg/avcodec.h>
Index: osdpip.c
===================================================================
--- osdpip.c.orig
+++ osdpip.c
@@ -73,8 +73,6 @@ bool cPluginOsdpip::ProcessArgs(int argc
bool cPluginOsdpip::Initialize(void)
{
- // must be called before using avcodec lib
- avcodec_init();
// register all the codecs (you can also register only the codec
// you wish to have smaller code)
avcodec_register_all();