1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-31 18:44:44 +03:00
Files
ffmpeg/libavcodec
Andreas Rheinhardt 628d02a611 avcodec/speedhqenc: Call correct function
Up until now, the SpeedHQ encoder called a wrong function for init:
void ff_init_uni_ac_vlc(const uint8_t huff_size_ac[256],
                        uint8_t *uni_ac_vlc_len);
Yet the first argument actually used is of type RLTable; the size of
said struct is less than 256 if the size of a pointer is four, leading
to an access beyond the end of the RLTable.

This commit fixes this by calling the actually intended function:
init_uni_ac_vlc() from mpeg12enc.c. It was intended to use this
function [1], yet doing so was forgotten when the patch was actually
applied.

[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-July/266187.html

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-12-11 02:20:05 +01:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-15 22:53:56 +02:00
…
…
…
…
…
…
…
2020-12-08 17:51:48 +01:00
2020-12-08 17:51:47 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-10 12:36:44 +02:00
…
…
…
…
…
…
…
2020-08-26 21:13:38 +02:00
2020-08-26 21:13:38 +02:00
…
2020-12-08 17:51:44 +01:00
2020-12-10 09:45:04 +01:00
2020-12-08 17:51:45 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-03-12 20:26:48 +00:00
…
…
2020-03-12 20:26:48 +00:00
…
…
…
…
…
2020-12-08 17:51:48 +01:00
…
…
…
…
…
…
…
…
…
2020-11-12 15:55:16 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-10-24 19:11:12 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-11-10 02:14:29 +01:00
2020-03-22 11:55:44 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-06-05 18:14:17 +02:00
…
2020-11-24 11:35:03 +01:00
…
…
2020-11-24 11:35:03 +01:00
…
…
…
…
…
…
2020-06-14 18:20:37 +02:00
2020-06-15 04:22:28 +02:00
2020-12-08 17:51:47 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-20 18:41:09 +02:00
2020-07-20 18:41:09 +02:00
…
…
…
…
…
…
…
…
2020-12-08 17:51:45 +01:00
…
2020-12-10 10:07:09 +01:00
2020-12-10 10:07:09 +01:00
…
…
…
…
…
…
2020-12-08 17:51:46 +01:00
2020-10-19 05:15:00 +02:00
…
…
…
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-12-08 17:51:46 +01:00
…
…
2020-12-08 17:51:47 +01:00
…
…
…
2020-05-12 01:00:28 +02:00
2020-11-11 18:36:09 +01:00
…
2020-05-26 10:52:12 +01:00
…
…
…
…
…
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
…
…
…
…
…
…
…
…
…
…
…
2020-06-08 20:45:56 +02:00
2020-05-30 18:02:55 +02:00
2020-07-05 19:59:49 +02:00
…
…
…
…
2020-09-01 14:19:19 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-05-22 22:23:18 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-12-10 10:03:58 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-07-20 18:41:09 +02:00
…
…
2020-12-08 17:51:44 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-11-02 22:57:23 +00:00
…
…
…
…
…
2020-04-26 18:38:25 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-04-16 15:05:07 -03:00
2020-10-23 10:37:04 +02:00
…
…
…
…
…
…
…
…
2020-05-23 07:07:36 +02:00
…
…
…
…
…
…
2020-10-16 00:38:50 +02:00
…