50 |
* exception also makes it possible to release a modified version which |
* exception also makes it possible to release a modified version which |
51 |
* carries forward this exception. |
* carries forward this exception. |
52 |
* |
* |
53 |
* $Id: bitstream.c,v 1.36 2002-11-26 23:44:10 edgomez Exp $ |
* $Id: bitstream.c,v 1.37 2002-12-15 01:21:12 edgomez Exp $ |
54 |
* |
* |
55 |
****************************************************************************/ |
****************************************************************************/ |
56 |
|
|
289 |
{ |
{ |
290 |
DPRINTF(DPRINTF_HEADER, "+ vol_control_parameters"); |
DPRINTF(DPRINTF_HEADER, "+ vol_control_parameters"); |
291 |
BitstreamSkip(bs, 2); /* chroma_format */ |
BitstreamSkip(bs, 2); /* chroma_format */ |
292 |
dec->low_delay = BitstreamGetBit(bs); /* low_delay */ |
dec->low_delay = (uint8_t)BitstreamGetBit(bs); /* low_delay */ |
293 |
DPRINTF(DPRINTF_HEADER, "low_delay %i", dec->low_delay); |
DPRINTF(DPRINTF_HEADER, "low_delay %i", dec->low_delay); |
294 |
if (BitstreamGetBit(bs)) /* vbv_parameters */ |
if (BitstreamGetBit(bs)) /* vbv_parameters */ |
295 |
{ |
{ |
474 |
} |
} |
475 |
} |
} |
476 |
|
|
477 |
if ((dec->scalability = BitstreamGetBit(bs))) /* scalability */ |
if ((dec->scalability = (int8_t)BitstreamGetBit(bs))) /* scalability */ |
478 |
{ |
{ |
479 |
DPRINTF(DPRINTF_ERROR, "scalability not supported"); |
DPRINTF(DPRINTF_ERROR, "scalability not supported"); |
480 |
return -1; |
return -1; |