mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 02:33:04 +00:00
pcmdec: do not needlessly set *data_size to 0
This commit is contained in:
parent
30f3e7b524
commit
6b94711f15
@ -302,7 +302,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
buf_size= FFMIN(buf_size, *data_size/2);
|
buf_size= FFMIN(buf_size, *data_size/2);
|
||||||
*data_size=0;
|
|
||||||
|
|
||||||
n = buf_size/sample_size;
|
n = buf_size/sample_size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user