On 05/02/2014 09:10 AM, Luca Barbato wrote:
> Utility function to get the upper bound on the number of samples the
> resampler would output.
> ---
> 
> Updated again to use av_rescale_rnd.
> 
> Justin, as wm4 pointed out the example is using AV_ROUND_UP and not
> AV_ROUND_INF. Which one is the most correct?

Either is ok because none of the values can be negative. However,
AV_ROUND_NEAR_INF is not ok.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to