Files
FFmpeg/libavcodec
Dale Curtis 11a940adbc Fix undefined shift on assumed 8-bit input.
decode_user_data() attempts to create an integer |build|
value with 8 bits of spacing for 3 components. However
each component is an int32_t, so shifting each component
is undefined for values outside of the 8 bit range.

This patch simply clamps input to 8-bits per component
and prints out a warning that the values were clamped.

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7010dd98b5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-30 21:11:32 +01:00
..
2017-03-31 12:28:58 +02:00
2017-02-15 12:46:01 +01:00
2017-02-15 12:46:01 +01:00
2017-06-02 01:14:38 +02:00
2017-07-19 15:26:37 +02:00
2017-05-14 00:21:49 +02:00
2017-05-14 00:21:49 +02:00
2017-05-14 17:56:21 +02:00
2017-12-30 21:11:31 +01:00
2017-03-20 09:23:15 +01:00
2017-05-14 00:21:49 +02:00
2017-05-23 15:50:46 +02:00
2017-02-21 00:40:20 +01:00
2017-05-14 17:56:20 +02:00
2017-03-28 18:04:27 -04:00
2017-03-21 12:38:20 +01:00
2017-02-03 20:16:30 +01:00
2017-02-03 20:01:07 +01:00
2017-02-21 00:40:20 +01:00
2017-02-14 06:15:36 +00:00
2017-02-24 19:14:55 +00:00
2017-02-14 06:15:36 +00:00
2017-06-06 03:44:35 +02:00
2017-02-10 17:04:56 +01:00
2017-09-11 13:28:21 +02:00
2017-06-02 01:14:38 +02:00
2017-02-21 00:40:20 +01:00
2017-04-02 19:49:45 +02:00
2017-02-02 01:12:07 +01:00
2017-06-02 01:14:38 +02:00
2017-05-14 00:21:49 +02:00
2017-07-19 15:26:37 +02:00
2017-07-26 00:14:20 +02:00