Commit f6dddd33 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

tiny_psnr: use abs()

Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment