[MEncoder-users] [mpeg4 @ 0x86f46cc]Error: 2pass curve failed to converge

Alejandro Vargas alejandro.anv at gmail.com
Tue Oct 24 11:31:41 CEST 2006


2006/10/23, Pepe <rvm3000 at ya.com>:
> -    if(fabs(expected_bits/all_available_bits - 1.0) > 0.01 ){
> +    if(abs(expected_bits/all_available_bits - 1.0) > 0.01 ){

But fabs are very different from abs. For the first, the result of abs
is int, then you shouldn't compare it with 0.01, it should be 0. And
the parameters of abs should be integer also. Then, I think probably
the if will be always evaluated as false.


-- 
Alejandro Vargas



More information about the MEncoder-users mailing list