diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-02-22 03:35:41 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-02-22 03:35:41 +0000 |
commit | e7774f11acfe50d6f4db1e8456334746aef80864 (patch) | |
tree | 72ef41c528fdbacd962ded152a1f5d14a4ba4215 /libavcodec/h263.c | |
parent | 2ba1bff05909fee700cc4b97a9eaaa68b58d880f (diff) | |
download | ffmpeg-e7774f11acfe50d6f4db1e8456334746aef80864.tar.gz |
- Bug fix on RTYPE (rounding type) not being honoured by H.263+ decoder.
Originally committed as revision 312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 9e68549cd6..fb6b2e7650 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -1447,7 +1447,10 @@ int h263_decode_picture_header(MpegEncContext *s) if (s->pict_type != I_TYPE && s->pict_type != P_TYPE) return -1; - skip_bits(&s->gb, 7); + skip_bits(&s->gb, 2); + s->no_rounding = get_bits1(&s->gb); + //fprintf(stderr, "\nRTYPE: %d", s->no_rounding); + skip_bits(&s->gb, 4); /* Get the picture dimensions */ if (ufep) { |