[FFmpeg-devel] [PATCH] MLP/TrueHD decoder

Ian Caulfield ian.caulfield
Wed Nov 14 12:31:43 CET 2007


On Nov 14, 2007 11:10 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> well add a
> if(size to big) return packet

Fair enough. I'm having trouble figuring out the cleanest way to
implement the code to find the header size. ff_combine_frame seems to
be designed for cases where packet boundaries can be easily found -
not where the size of a packet is determined by data within the
packet. What's the nicest way to get hold of the third and fourth
bytes of the packet, handling the case where these might not be
supplied together?

Ian




More information about the ffmpeg-devel mailing list