swresample/swresample: replace always true if() by av_assert0()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-10-06 01:29:15 +02:00
parent f9fefa499f
commit 6b347f519d
1 changed files with 2 additions and 2 deletions

View File

@ -668,8 +668,8 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun
continue;
}
if(s->drop_output || !out_arg)
return 0;
av_assert0(s->drop_output);
return 0;
}
if(!in_arg){