1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/mpegvideo_dec: Mark init, flush, close functions as av_cold

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-03-07 01:51:49 +01:00
parent 248a6578a3
commit 594b97e433

View File

@ -43,7 +43,7 @@
#include "threadprogress.h"
#include "wmv2dec.h"
int ff_mpv_decode_init(MpegEncContext *s, AVCodecContext *avctx)
av_cold int ff_mpv_decode_init(MpegEncContext *s, AVCodecContext *avctx)
{
enum ThreadingStatus thread_status;
@ -141,7 +141,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
return 0;
}
int ff_mpv_decode_close(AVCodecContext *avctx)
av_cold int ff_mpv_decode_close(AVCodecContext *avctx)
{
MpegEncContext *s = avctx->priv_data;
@ -150,7 +150,7 @@ int ff_mpv_decode_close(AVCodecContext *avctx)
return 0;
}
int ff_mpv_common_frame_size_change(MpegEncContext *s)
av_cold int ff_mpv_common_frame_size_change(MpegEncContext *s)
{
int err = 0;
@ -427,7 +427,7 @@ void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h)
s->first_field, s->low_delay);
}
void ff_mpeg_flush(AVCodecContext *avctx)
av_cold void ff_mpeg_flush(AVCodecContext *avctx)
{
MpegEncContext *const s = avctx->priv_data;