[FFmpeg-cvslog] intel h263 dec: support advanced prediction
Michael Niedermayer
git at videolan.org
Sun Jun 17 21:33:15 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 17 21:12:20 2012 +0200| [c390822e1846cf4311f8c560a0c601db1553cd18] | committer: Michael Niedermayer
intel h263 dec: support advanced prediction
Fixes Ticket1292
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c390822e1846cf4311f8c560a0c601db1553cd18
---
libavcodec/intelh263dec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/intelh263dec.c b/libavcodec/intelh263dec.c
index ffe91db..d7808fb 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) {
More information about the ffmpeg-cvslog
mailing list