[Ffmpeg-devel] reading byteswapped bitstream

Måns Rullgård mru
Sun May 15 00:11:25 CEST 2005


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Saturday 14 May 2005 23:19, M?ns Rullg?rd wrote:
>> Are there any provisions in libavcodec for reading a bitstream the
>> usual way, except that bytes should be read in 32107654 order, instead
>> of the usual 012345678?
>
> DSPContext.bswap_buf() 

That should do the trick, although it seems a little suboptimal.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list