mpeg12: Unbreak building stale code
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 16 Oct 2015 06:45:04 +0000 (08:45 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 16 Oct 2015 15:45:09 +0000 (17:45 +0200)
Broken in 2d59159508c5c1830cc5da907a9454e229077320

libavcodec/mpeg12dec.c

index 1fe814d..be20414 100644 (file)
@@ -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,
 };