mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
Be less verbose about dca channel number changes.
Only inform the user that the number of channels changed if it was set before.
This commit is contained in:
parent
81cd96caee
commit
ad2d597292
@ -1815,7 +1815,7 @@ static int dca_decode_frame(AVCodecContext * avctx,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (avctx->channels != channels) {
|
||||
if (avctx->channels && avctx->channels != channels) {
|
||||
av_log(avctx, AV_LOG_INFO, "Number of channels changed in DCA decoder (%d -> %d)\n", avctx->channels, channels);
|
||||
avctx->channels = channels;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user