freebsd-ports/multimedia/vdr-plugin-markad/files/patch-command_decoder.h
Ben Woods f44f67e9b8 multimedia/vdr-plugin-markad: Fix build with ffmpeg 3.0.x
- Update patch of command/decoder.cpp to allow vdr-plugin-markad to
  build successfully once multimedia/ffmpeg is updated to 3.0.x.
  Note that multimedia/ffmpeg is currently still on the 2.8.x branch,
  however this patch is backwards compatible with ffmpeg 2.8.x.
  The additional changes to this file were based on upstream bug
  report #1898 [1], and also the requirement to replace
  s/avcodec_alloc_frame/av_frame_alloc/g.
- Regenerate patches with makepatch (pet portlint), and remove
  PATCH_STRIP=-p1 from Makefile.

  [1] https://projects.vdr-developer.org/issues/1898

PR:		209386
Reported by:	antoine (PR207547)
Reviewed by:	mat (mentor)
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D6283
2016-05-10 15:35:19 +00:00

10 lines
252 B
C

--- command/decoder.h.orig 2012-02-24 20:08:34 UTC
+++ command/decoder.h
@@ -18,6 +18,7 @@ extern "C"
#include <avcodec.h>
#else
#include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
#endif
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)