[Ffmpeg-devel] [RFC] Real demuxer and audio reordering

Benjamin Larsson banan
Mon Nov 21 21:03:38 CET 2005


Rich Felker wrote:

>On Sun, Nov 20, 2005 at 06:00:29PM +0100, Roberto Togni wrote:
>  
>
>>Hi all.
>>
>>Attached you can find a patch to move audio data reordering in
>>rm demuxer for cook and 28_8 decoders. It also fix the extradata
>>problem by storing it with a fixed endian (i chose BE because all
>>data in rm files is BE).
>>    
>>
>
>WTF? The extradata is raw binary data IDENTICAL TO HOWEVER IT'S STORED
>IN THE FILE!! There is no endianness to it because it is not a
>ready-to-read data structure but a serialized platform-independent
>format.
>  
>
It is data needed to init the binary codecs. Especially one variable
is needed (sub_packet_size). Certain tricks could maybe be done to
get rid of it and only use real extradata from the file.

MvH
Benjamin Larsson





More information about the ffmpeg-devel mailing list