[FFmpeg-devel] [PATCH]Fix changed channel layout log info

Michael Niedermayer michaelni at gmx.at
Mon Mar 16 18:50:41 CET 2015

On Mon, Mar 16, 2015 at 05:34:59PM +0000, Carl Eugen Hoyos wrote:
> Nicolas George <george <at> nsup.org> writes:
> > The line you change seems completely wrong by itself. 
> > IMHO, it should read something like 
> > "av_assert0(decoded_frame->channel_layout ==
> > avctx->channel_layout);", to allow finding the places 
> > where lavc returns inconsistent layouts.
> That happens for dca lossless.

its probably because the code in dca sets a wrong channel layout
than theres a hack in the new dca code that notices its wrong and
clears it.
that repeated set wrong + clear might be responsible but it also
might be something else

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150316/fe32f7f6/attachment.asc>

More information about the ffmpeg-devel mailing list