mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)
Originally committed as revision 451 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -902,4 +902,6 @@ void *av_mallocz(int size);
|
||||
/* math */
|
||||
int ff_gcd(int a, int b);
|
||||
|
||||
#define CLAMP_TO_8BIT(d) ((d > 0xff) ? 0xff : (d < 0) ? 0 : d)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user