You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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:
@@ -43,7 +43,7 @@
|
|||||||
#include "threadprogress.h"
|
#include "threadprogress.h"
|
||||||
#include "wmv2dec.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;
|
enum ThreadingStatus thread_status;
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ff_mpv_decode_close(AVCodecContext *avctx)
|
av_cold int ff_mpv_decode_close(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
MpegEncContext *s = avctx->priv_data;
|
MpegEncContext *s = avctx->priv_data;
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ int ff_mpv_decode_close(AVCodecContext *avctx)
|
|||||||
return 0;
|
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;
|
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);
|
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;
|
MpegEncContext *const s = avctx->priv_data;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user