diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-27 19:13:25 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-22 15:34:39 +0100 |
commit | 848e86f74d3e6e87fa592ee8ba8c184cc5fd9a42 (patch) | |
tree | e02dd312ec6d21fb183d1fda8172758156594e05 /libavcodec/mpegvideo_xvmc.c | |
parent | 29216d7fd14d1cec16821867d17c90b5c49e8c07 (diff) |
mpegvideo: Drop flags and flags2
They are just duplicates of AVCodecContext members so use those instead.
Diffstat (limited to 'libavcodec/mpegvideo_xvmc.c')
-rw-r--r-- | libavcodec/mpegvideo_xvmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index fb2dd80140..4628360a02 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -285,7 +285,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) cbp++; } - if (s->flags & CODEC_FLAG_GRAY) { + if (s->avctx->flags & CODEC_FLAG_GRAY) { if (s->mb_intra) { // intra frames are always full chroma blocks for (i = 4; i < blocks_per_mb; i++) { memset(s->pblocks[i], 0, sizeof(*s->pblocks[i])); // so we need to clear them |