This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
tiny_psnr: use abs()
Originally committed as revision 24146 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård
15 years ago
parent
5f0278f51c
commit
f6dddd3374
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
tests/tiny_psnr.c
+ 1
- 1
tests/tiny_psnr.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save