[FFmpeg-cvslog] mpeg12: Unbreak building stale code

Luca Barbato git at videolan.org
Fri Oct 16 23:04:40 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Fri Oct 16 08:45:04 2015 +0200| [49d7fcd774ac31f242818ad9d45d9c013f3bb3db] | committer: Luca Barbato

mpeg12: Unbreak building stale code

Broken in 2d59159508c5c1830cc5da907a9454e229077320

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

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

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 1fe814d..be20414 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2753,7 +2753,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