[MPlayer-dev-eng] [PATCH] syncing dvdread - part1

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Aug 19 14:26:54 CEST 2007


Reimar Döffinger wrote:
> Hello,
> On Sun, Aug 19, 2007 at 02:02:42PM +0200, Nico Sabbi wrote:
> 
>>Nico Sabbi wrote:
>>
>>>>Will it not be easier if we do the sync first?
>>>>
>>>>Diego
>>>
>>>yes, of course
>>
>>updated (although I like much more mp_getbits in libmpdemux/mpeg_hdr.c) :-)
> 
> 
> Do you really need to be able to read up to 32 bits or would 25 be
> enough?
> If yes it should be possible to simplify this a lot, similar to how the
> libavcodec ALT_BITSTREAM_READER does it just with less obfuscation (i.e.
> read 32 bits with AV_RB32, shift left according to current bit position
> within the byte and shift right again depending on number of bits to
> read.

as I wrote previously: this patch is needed just to keep the codebae 
in sync; optimizations are welcome but had better come later




More information about the MPlayer-dev-eng mailing list