1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

dpcm: remove unneeded buf_size==0 check.

It is already checked in avcodec_decode_audio3()
This commit is contained in:
Justin Ruggles 2011-11-02 16:47:53 -04:00
parent 9d06037d48
commit e79da63282

View File

@ -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: