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@gmail.com>
pull/161/head
James Almer 9 years ago
parent 360cebc9c8
commit 5d95f32bff
  1. 2
      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,
};

Loading…
Cancel
Save