Module: libav Branch: master Commit: e79da63282b354fb721ac4b763d268649f0efd76
Author: Justin Ruggles <[email protected]> Committer: Justin Ruggles <[email protected]> Date: Wed Nov 2 16:47:53 2011 -0400 dpcm: remove unneeded buf_size==0 check. It is already checked in avcodec_decode_audio3() --- libavcodec/dpcm.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index 6ba8ab1..f6531db 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: _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
