dpcm: remove unneeded buf_size==0 check.

It is already checked in avcodec_decode_audio3()
pull/2/head
Justin Ruggles 13 years ago
parent 9d06037d48
commit e79da63282
  1. 3
      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:

Loading…
Cancel
Save