comparison h263.c @ 250:3449316664b5 libavcodec

- Bug fix on RTYPE (rounding type) not being honoured by H.263+ decoder.
author pulento
date Fri, 22 Feb 2002 03:35:41 +0000
parents 42a0b7b16738
children 4448dd55d415
comparison
equal deleted inserted replaced
249:42a0b7b16738 250:3449316664b5
1445 /* MPPTYPE */ 1445 /* MPPTYPE */
1446 s->pict_type = get_bits(&s->gb, 3) + 1; 1446 s->pict_type = get_bits(&s->gb, 3) + 1;
1447 if (s->pict_type != I_TYPE && 1447 if (s->pict_type != I_TYPE &&
1448 s->pict_type != P_TYPE) 1448 s->pict_type != P_TYPE)
1449 return -1; 1449 return -1;
1450 skip_bits(&s->gb, 7); 1450 skip_bits(&s->gb, 2);
1451 s->no_rounding = get_bits1(&s->gb);
1452 //fprintf(stderr, "\nRTYPE: %d", s->no_rounding);
1453 skip_bits(&s->gb, 4);
1451 1454
1452 /* Get the picture dimensions */ 1455 /* Get the picture dimensions */
1453 if (ufep) { 1456 if (ufep) {
1454 if (format == 6) { 1457 if (format == 6) {
1455 /* Custom Picture Format (CPFMT) */ 1458 /* Custom Picture Format (CPFMT) */