summaryrefslogtreecommitdiff
path: root/libavcodec/h263.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h263.h')
-rw-r--r--libavcodec/h263.h2
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));