swr: fix swr_drop_output()

Fixes part of Ticket1341

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Michael Niedermayer 13 years ago
parent 411689b5e1
commit 72261fa867
  1. 1
      libswresample/swresample.c

@ -629,6 +629,7 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun
av_freep(&tmp.data);
if(s->drop_output || !out_arg)
return 0;
in_count = 0;
}
if(!in_arg){

Loading…
Cancel
Save