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: fix undefined shift
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer
13 years ago
parent
98b0120668
commit
c99d3e2e6c
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
@@ -129,7 +129,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes)
uint64_t dev;
uint8_t buf[2][SIZE];
uint64_t psnr;
int64_t max = (1 << (8 * len)) - 1;
int64_t max = (1
LL
<< (8 * len)) - 1;
int size0 = 0;
int size1 = 0;
int maxdist = 0;
Write
Preview
Loading…
Cancel
Save