Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 16 years ago
parent 012e4f5a18
commit 34365443fd
  1. 4
      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;
}

Loading…
Cancel
Save