diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-09-27 17:52:48 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-26 12:01:06 -0400 |
commit | 6b94711f15257dfd1b45596e060b88a26059bc0d (patch) | |
tree | 32ee8a9eba9bab2205b4ebbc28b72817bd379afa /libavcodec/pcm.c | |
parent | 30f3e7b524cc31155db7a1b0057f651312f6341e (diff) | |
download | ffmpeg-6b94711f15257dfd1b45596e060b88a26059bc0d.tar.gz |
pcmdec: do not needlessly set *data_size to 0
Diffstat (limited to 'libavcodec/pcm.c')
-rw-r--r-- | libavcodec/pcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 66edfba0f2..4b115836fd 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -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; |