Commit e79da632 authored by Justin Ruggles's avatar Justin Ruggles

dpcm: remove unneeded buf_size==0 check.

It is already checked in avcodec_decode_audio3()
parent 9d06037d
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment