提交 f6dddd33 编写于 作者: M Måns Rullgård

tiny_psnr: use abs()

Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 5f0278f5
......@@ -145,7 +145,7 @@ int main(int argc,char* argv[]){
}
}
fseek(f[shift<0], shift < 0 ? -shift : shift, SEEK_CUR);
fseek(f[shift<0], abs(shift), SEEK_CUR);
fseek(f[0],skip_bytes,SEEK_CUR);
fseek(f[1],skip_bytes,SEEK_CUR);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册