diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-09-28 01:52:48 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-26 20:01:06 +0400 |
commit | 6b94711f15257dfd1b45596e060b88a26059bc0d (patch) | |
tree | 32ee8a9eba9bab2205b4ebbc28b72817bd379afa /libavcodec/pcm.c | |
parent | 30f3e7b524cc31155db7a1b0057f651312f6341e (diff) |
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; |