Commit 246c8dac authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix dca decoding for many samples after last commit.

Still be less verbose about channel count change from 0 channels.
parent ad2d5972
......@@ -1815,7 +1815,8 @@ static int dca_decode_frame(AVCodecContext * avctx,
return -1;
}
if (avctx->channels && avctx->channels != channels) {
if (avctx->channels != channels) {
if (avctx->channels)
av_log(avctx, AV_LOG_INFO, "Number of channels changed in DCA decoder (%d -> %d)\n", avctx->channels, channels);
avctx->channels = channels;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment