You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
tiny_psnr: use abs()
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user