bfi: validate sample_rate
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Showing
Please
register
or
sign in
to comment