[FFmpeg-devel] [PATCH] start FLAC decoding mid-stream

Justin Ruggles justin.ruggles
Sun Dec 7 23:32:02 CET 2008


Justin Ruggles wrote:
> Hi,
> 
> As mentioned in another thread, our FLAC decoder cannot start decoding
> mid-stream without having the STREAMINFO.  The FLAC format allows for
> doing this as long as each frame header supplies all the necessary info.
> 
> Here is a patch to allow decoding starting anywhere in a FLAC stream.
> 
> Thanks,
> Justin

Here is a slightly better version which only allocates buffers once if
starting mid-stream.

-Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: flac_decode_partial.diff
Type: text/x-patch
Size: 4494 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081207/c52d382b/attachment.bin>



More information about the ffmpeg-devel mailing list