Files
FFmpeg/libavcodec
Andreas Rheinhardt 58a222f561 avcodec/svq1enc: Stop calling ff_mpv_common_init()
It is not really needed, as none of the buffers allocated
in ff_mpv_common_init() are used lateron; in fact, ff_mpv_common_init()
is called with MpegEncContext.width and height equal to zero
(as well as encoding equal to zero, so that the error resilience
parts are initialized...), so that all the buffers are too small
anyway.

The call to ff_mpv_common_init() has been added in commit
f6774f905f in order to allocate
{current,last,new}_picture.f (an AVFrame). Yet this is unnecessary
since 7814dd77aa.

The only task that ff_mpv_common_init() does that may be used
is initializing the HpelDSPContext embedded in the MpegEncContext.
In fact, it was not initialized before
f6774f905f and not initializing
it passes FATE, yet I can't prove that it is indeed unnecessary.
Therefore it is still initialized and used instead of
SVQ1EncContext.hdsp.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2025-06-21 22:08:52 +02:00
..
2025-06-17 16:39:36 +10:00
2025-04-13 22:49:21 +02:00
2025-06-12 21:17:07 +08:00
2025-06-20 21:09:39 +08:00
2025-06-02 13:42:53 +02:00
2025-02-26 17:12:08 +01:00
2025-02-04 00:14:14 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-05-15 01:51:34 +02:00
2025-04-27 15:52:30 +01:00
2025-04-27 15:52:30 +01:00
2025-05-04 16:21:35 -03:00
2025-05-26 05:03:29 +02:00
2025-05-26 05:03:29 +02:00
2025-05-13 00:20:23 +02:00
2024-09-28 18:35:35 +02:00
2024-09-28 18:35:35 +02:00
2025-01-01 20:31:08 +01:00
2025-06-06 17:21:37 +02:00
2025-03-17 08:51:23 +01:00
2024-09-24 15:37:19 +02:00
2025-06-17 16:39:36 +10:00
2025-05-09 22:26:51 +02:00
2025-04-10 03:01:33 +02:00
2025-05-01 22:42:34 -03:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2024-11-03 10:53:15 +11:00
2025-06-06 22:07:15 +02:00
2025-04-02 09:25:46 +02:00
2025-04-02 09:25:46 +02:00
2025-03-20 07:10:17 +01:00
2025-05-15 03:03:56 +02:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-10-12 11:21:14 -03:00
2024-11-01 12:13:07 +08:00
2024-09-24 15:37:19 +02:00
2025-05-16 01:37:35 +02:00
2025-02-09 20:27:49 -06:00
2024-10-31 17:49:48 +11:00
2025-04-25 23:01:37 +02:00
2024-10-31 17:49:48 +11:00
2025-04-25 23:01:38 +02:00
2024-09-24 15:37:20 +02:00