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/h263.h | |
parent | 29216d7fd14d1cec16821867d17c90b5c49e8c07 (diff) | |
download | ffmpeg-848e86f74d3e6e87fa592ee8ba8c184cc5fd9a42.tar.gz |
mpegvideo: Drop flags and flags2
They are just duplicates of AVCodecContext members so use those instead.
Diffstat (limited to 'libavcodec/h263.h')
-rw-r--r-- | libavcodec/h263.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.h b/libavcodec/h263.h index dace2aee4d..91fc57ef3c 100644 --- a/libavcodec/h263.h +++ b/libavcodec/h263.h @@ -145,7 +145,7 @@ static inline int h263_get_motion_length(MpegEncContext * s, int val, int f_code } static inline void ff_h263_encode_motion_vector(MpegEncContext * s, int x, int y, int f_code){ - if(s->flags2 & CODEC_FLAG2_NO_OUTPUT){ + if (s->avctx->flags2 & CODEC_FLAG2_NO_OUTPUT) { skip_put_bits(&s->pb, h263_get_motion_length(s, x, f_code) +h263_get_motion_length(s, y, f_code)); |