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
signature.asc
Description: Digital signature
_______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
