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
1/0 fix for files with size=0
Originally committed as revision 3484 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
21 years ago
parent
9ebb8e1124
commit
eeaa742c3e
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
tests/tiny_psnr.c
+ 1
- 0
tests/tiny_psnr.c
View File
@@ -120,6 +120,7 @@ int main(int argc,char* argv[]){
}
}
if(!i) i=1;
dev= int_sqrt((sse*F*F)/i);
if(sse)
psnr= (log16(256*256*255*255LL*i/sse)*284619LL*F + (1<<31)) / (1LL<<32);
Write
Preview
Loading…
Cancel
Save