pcmdec: do not needlessly set *data_size to 0

pull/2/head
Justin Ruggles 13 years ago
parent 30f3e7b524
commit 6b94711f15
  1. 1
      libavcodec/pcm.c

@ -302,7 +302,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
}
buf_size= FFMIN(buf_size, *data_size/2);
*data_size=0;
n = buf_size/sample_size;

Loading…
Cancel
Save