[FFmpeg-soc] LC AAC

Michael Niedermayer michaelni at gmx.at
Tue Feb 26 18:03:11 CET 2008


On Tue, Feb 26, 2008 at 04:04:03PM +0100, Andreas Öman wrote:
> Michael Niedermayer wrote:
> > On Sat, Dec 15, 2007 at 04:00:08PM +0000, Robert Swain wrote:
> 
> >>     skip_bits(gb, 8 * get_bits(gb, 8));
> > 
> > invalid, skip bits does not support arbitrary lengths
> 
> Whats the limit?

This is a good question :)
The default reader should be able to handle any amount but others might not
i suspect some will fail >17-32 bits ...


> I cant seem to find any docs about it.

If you figure the limit out add a #define with it please to each reader :)


> 
> I assume one should use skip_bits_long() instead?

yes


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080226/3e084388/attachment.pgp>


More information about the FFmpeg-soc mailing list