Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-04-19 20:41:26 +00:00
parent 012e4f5a18
commit 34365443fd

View File

@ -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;
}