diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index beb831b121..95e33fd607 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -362,8 +362,8 @@ static int pcm_decode_frame(AVCodecContext *avctx, if(n && buf_size % n){ if (buf_size < n) { - av_log(avctx, AV_LOG_ERROR, "invalid PCM packet\n"); - return -1; + av_log(avctx, AV_LOG_ERROR, "invalid PCM packet\n"); + return -1; }else buf_size -= buf_size % n; }