1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

pcmdec: do not needlessly set *data_size to 0

This commit is contained in:
Justin Ruggles 2011-09-27 17:52:48 -04:00
parent 30f3e7b524
commit 6b94711f15

View File

@ -302,7 +302,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
}
buf_size= FFMIN(buf_size, *data_size/2);
*data_size=0;
n = buf_size/sample_size;