[FFmpeg-devel] Behaviour of liba52 decoder

Thorsten Jordan tjordan
Thu Jan 10 12:57:33 CET 2008


Michael Niedermayer schrieb:
> Hi
> 
>> any comments?
> 
> a52_decode_frame() looks buggy yes ...
> i suggest you rewrite it ...
> 
> it should roughly look like
> 
> read header
> for(all 6 block)
>     decode block
this would be ok if one could demand that full frames are given always.
What if one has AC3 in TS? Isn't that buffering needed? Hmm i guess not,
as the TS demuxer always gives full frames...
What if the data does not start with an AC3 header? just return error in
that case?

-- 
Regards, Thorsten




More information about the ffmpeg-devel mailing list