diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-17 21:12:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-17 21:32:43 +0200 |
commit | c390822e1846cf4311f8c560a0c601db1553cd18 (patch) | |
tree | e9ace2677d49ceac4fb0635e664d11ae878c0c4b /libavcodec/intelh263dec.c | |
parent | 1125606a1f8bdcabbdd9107831d20e86f0dfeeae (diff) | |
download | ffmpeg-c390822e1846cf4311f8c560a0c601db1553cd18.tar.gz |
intel h263 dec: support advanced prediction
Fixes Ticket1292
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/intelh263dec.c')
-rw-r--r-- | libavcodec/intelh263dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/intelh263dec.c b/libavcodec/intelh263dec.c index ffe91dbd5d..d7808fb339 100644 --- a/libavcodec/intelh263dec.c +++ b/libavcodec/intelh263dec.c @@ -54,14 +54,14 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s) s->pict_type = AV_PICTURE_TYPE_I + get_bits1(&s->gb); - s->unrestricted_mv = get_bits1(&s->gb); - s->h263_long_vectors = s->unrestricted_mv; + s->h263_long_vectors = get_bits1(&s->gb); if (get_bits1(&s->gb) != 0) { av_log(s->avctx, AV_LOG_ERROR, "SAC not supported\n"); return -1; /* SAC: off */ } s->obmc= get_bits1(&s->gb); + s->unrestricted_mv = s->obmc || s->h263_long_vectors; s->pb_frame = get_bits1(&s->gb); if (format < 6) { |