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
avutil/common: use unsigned int in GET_UTF8
Right shift of signed value is implementation defined. Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n4.3
Marton Balint
6 years ago
parent
24af459d1e
commit
5df1c1ad9a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavutil/common.h
+ 1
- 1
libavutil/common.h
View File
@@ -389,7 +389,7 @@ static av_always_inline av_const int av_parity_c(uint32_t v)
if ((val & 0xc0) == 0x80 || val >= 0xFE)\
ERROR\
while (val & top) {\
int tmp= (GET_BYTE) - 128;\
unsigned
int tmp
= (GET_BYTE) - 128;\
if(tmp>>6)\
ERROR\
val= (val<<6) + tmp;\
Write
Preview
Loading…
Cancel
Save