diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-02 16:47:53 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-11 14:17:39 -0500 |
commit | e79da63282b354fb721ac4b763d268649f0efd76 (patch) | |
tree | b94eb089fb4af731563344db0b738ca46bb12933 | |
parent | 9d06037d48041ad8ccbae6c12aa9f3a313a89c4e (diff) | |
download | ffmpeg-e79da63282b354fb721ac4b763d268649f0efd76.tar.gz |
dpcm: remove unneeded buf_size==0 check.
It is already checked in avcodec_decode_audio3()
-rw-r--r-- | libavcodec/dpcm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index 6ba8ab13ce..f6531db28b 100644 --- a/libavcodec/dpcm.c +++ b/libavcodec/dpcm.c @@ -179,9 +179,6 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void *data, int *data_size, int stereo = s->channels - 1; int16_t *output_samples = data; - if (!buf_size) - return 0; - /* calculate output size */ switch(avctx->codec->id) { case CODEC_ID_ROQ_DPCM: |