You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Fix dca decoding for many samples after last commit.
Still be less verbose about channel count change from 0 channels.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user