[FFmpeg-devel] [PATCH]Plausibility check for TrueHD channel_layout
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Apr 1 00:33:29 CEST 2011
Nicolas George <nicolas.george <at> normalesup.org> writes:
> Le primidi 11 germinal, an CCXIX, compn a écrit :
> > this might be a dumb question... but it looks so generic, why not put
> > this higher up the audio chain so it can be reused in multiple codecs?
>
> I concur: it would be very nice if lavc guarantees that the channel count of
> a codec context is consistent with the channel count of its channel layout,
> if available.
I do not disagree, but in the difference with TrueHD is that we know valid
samples can trigger the condition. I do not know any other codec (including mlp)
where this can be true.
So this should be a separate patch, imo.
Carl Eugen
More information about the ffmpeg-devel
mailing list