[FFmpeg-cvslog] avocdec/mpeg12dec: fix mpeg_xvmc hwaccel flag

James Almer git at videolan.org
Tue Jul 28 02:11:06 CEST 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Jul 27 21:09:53 2015 -0300| [5d95f32bff86bea453e623e7b241b3c5455af896] | committer: James Almer

avocdec/mpeg12dec: fix mpeg_xvmc hwaccel flag

The flag is deprecated and as such didn't get a new AV_ prefixed version

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5d95f32bff86bea453e623e7b241b3c5455af896
---

 libavcodec/mpeg12dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 363ce61..73ebdfa 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2917,7 +2917,7 @@ AVCodec ff_mpeg_xvmc_decoder = {
     .close          = mpeg_decode_end,
     .decode         = mpeg_decode_frame,
     .capabilities   = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1 |
-                      AV_CODEC_CAP_TRUNCATED | AV_CODEC_CAP_HWACCEL |
+                      AV_CODEC_CAP_TRUNCATED | CODEC_CAP_HWACCEL |
                       AV_CODEC_CAP_DELAY,
     .flush          = flush,
 };



More information about the ffmpeg-cvslog mailing list