[FFmpeg-devel] [PATCH] Fix for Errors decoding TrueHD 7.1 streams (issue1866)
Nick Brereton
nick
Sun May 9 20:01:42 CEST 2010
Hello,
I took a look at issue1866 ( https://roundup.ffmpeg.org/issue1866 -
"Errors decoding TrueHD 7.1 streams") & have attached a patch that fixes
the problem.
The root cause is that the supplied sample has a substream (for the 7.1
case) with a channel range that overlaps the previously decoded
channels. This is a problem as the existing code only allocates 1 set of
channel decoding parameters per channel despite these being also
dependant on the substream number; when lower substreams are decoded
after a restart header has been processed for the higher overlapping
substream the wrong coding parameters are used. I've moved the channel
coding info structures into the substream structure & modified
references accordingly.
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlpdec-overlapping-substream.diff
Type: text/x-patch
Size: 5237 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100509/6dc83803/attachment.bin>
More information about the ffmpeg-devel
mailing list