On 05/21/2012 01:53 PM, Anton Khirnov wrote:
> +            score = -abs(bps - out_bps);
> +
> +            if (score > best_score) {
> +                best_score = score;
> +                best_idx   = j;
> +            }

For the same 'bps distance' the higher bps format should get preference
instead of whichever comes first in the list.

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

Reply via email to