mirror of https://git.ffmpeg.org/ffmpeg.git
- 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
This commit is contained in:
parent
2ba1bff059
commit
e7774f11ac
|
@ -1447,7 +1447,10 @@ int h263_decode_picture_header(MpegEncContext *s)
|
||||||
if (s->pict_type != I_TYPE &&
|
if (s->pict_type != I_TYPE &&
|
||||||
s->pict_type != P_TYPE)
|
s->pict_type != P_TYPE)
|
||||||
return -1;
|
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 */
|
/* Get the picture dimensions */
|
||||||
if (ufep) {
|
if (ufep) {
|
||||||
|
|
Loading…
Reference in New Issue