Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-27 21:13:25 +0300
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-22 17:34:39 +0300
commit848e86f74d3e6e87fa592ee8ba8c184cc5fd9a42 (patch)
treee02dd312ec6d21fb183d1fda8172758156594e05 /libavcodec/mpegvideo_xvmc.c
parent29216d7fd14d1cec16821867d17c90b5c49e8c07 (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.c2
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