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
Use av_clip_uint8 instead of equivalent but unoptimzed code,
Originally committed as revision 18985 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Reimar Döffinger
16 years ago
parent
6f62e2c72d
commit
abeee5ccb8
1 changed files
with
1 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-5
libavcodec/lcldec.c
+ 1
- 5
libavcodec/lcldec.c
View File
@@ -81,11 +81,7 @@ static inline unsigned char fix (int pix14)
int tmp;
tmp = (pix14 + 0x80000) >> 20;
if (tmp < 0)
return 0;
if (tmp > 255)
return 255;
return tmp;
return av_clip_uint8(tmp);
}
Write
Preview
Loading…
Cancel
Save