]> git.sesse.net Git - ffmpeg/commitdiff
avocdec/mpeg12dec: fix mpeg_xvmc hwaccel flag
authorJames Almer <jamrial@gmail.com>
Tue, 28 Jul 2015 00:09:53 +0000 (21:09 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 28 Jul 2015 00:09:53 +0000 (21:09 -0300)
The flag is deprecated and as such didn't get a new AV_ prefixed version

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mpeg12dec.c

index 363ce619556d0ba5a78082201b53413196dda774..73ebdfa88be0ee298bb4c4d40102cf1a8f51713e 100644 (file)
@@ -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,
 };