On 05.03.2015 16:04, Anton Khirnov wrote:
Quoting Andreas Cadhalpun (2015-02-26 01:27:34)
However it might still be a good idea to apply above patch, because the
decoder/parser could set avctx->channels to 0, even if the demuxer has set it to
something positive.
Yes, that's a pervasive problem I'm going to address in a rather huge
set I'm working on. In the meantime, I think it'd be best to just store
the value in the private data to make sure no one messes with it.
You mean as an additional field in the ADXDemuxerContext?
I'm not sure that would be a good thing, because then it might be possible
for the demuxer and the decoder to disagree about the number of channels.
Best regards,
Andreas
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel