diff options
Diffstat (limited to 'graphics/gnash/files/patch-libmedia_ffmpeg_VideoDecoderFfmpeg.cpp')
-rw-r--r-- | graphics/gnash/files/patch-libmedia_ffmpeg_VideoDecoderFfmpeg.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/gnash/files/patch-libmedia_ffmpeg_VideoDecoderFfmpeg.cpp b/graphics/gnash/files/patch-libmedia_ffmpeg_VideoDecoderFfmpeg.cpp new file mode 100644 index 000000000000..938c2bab6d82 --- /dev/null +++ b/graphics/gnash/files/patch-libmedia_ffmpeg_VideoDecoderFfmpeg.cpp @@ -0,0 +1,12 @@ +--- libmedia/ffmpeg/VideoDecoderFfmpeg.cpp.orig 2016-07-21 14:25:09.000000000 +0200 ++++ libmedia/ffmpeg/VideoDecoderFfmpeg.cpp 2016-12-13 21:47:28.602555000 +0100 +@@ -544,7 +544,9 @@ + vaapi_set_surface(pic, surface); + + static unsigned int pic_num = 0; ++#if LIBAVCODEC_VERSION_MAJOR < 57 + pic->type = FF_BUFFER_TYPE_USER; ++#endif + #if LIBAVCODEC_VERSION_MAJOR < 54 + // This field has been unused for longer but has been removed with + // libavcodec 54. |