FFmpeg/libavcodec
Andreas Rheinhardt df6ec7f83b avcodec/bitstream: Consistently treat symbol as VLC_TYPE
If a static VLC table gets initialized a second time (or concurrently by
two threads) and if said VLC table uses symbols that have the sign bit
of VLC_TYPE (a typedef for int16_t) set, initializing the VLC fails. The
reason is that the type of the symbol in the temporary array is an
uint16_t and so comparing it to the symbol read from the VLC table will
fail, because only the lower 16bits coincide. Said failure triggers an
assert.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-10-27 10:34:23 +01:00
..
2020-10-25 23:44:26 +10:00
2020-09-18 11:34:11 +02:00
2020-10-25 23:44:26 +10:00
2020-10-15 22:53:56 +02:00
2020-08-26 21:13:38 +02:00
2020-08-26 21:13:38 +02:00
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
2020-10-15 21:20:40 +02:00
2020-10-24 19:11:12 +02:00
2020-06-14 18:20:37 +02:00
2020-06-15 04:22:28 +02:00
2020-10-24 16:50:29 +02:00
2020-07-20 18:41:09 +02:00
2020-07-20 18:41:09 +02:00
2020-10-25 23:44:26 +10:00
2020-10-19 05:15:00 +02:00
2020-07-05 19:59:49 +02:00
2020-09-01 14:19:19 +02:00
2020-10-15 22:53:56 +02:00
2020-07-20 18:41:09 +02:00
2020-10-25 23:44:26 +10:00
2020-10-23 10:37:04 +02:00
2020-10-16 00:38:50 +02:00