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:
parent
30f3e7b524
commit
6b94711f15
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user