mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/vp8: Mark flushing functions as av_cold
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
d48d7bc434
commit
d7374ac713
@ -128,7 +128,7 @@ static void vp8_release_frame(VP8Frame *f)
|
|||||||
ff_progress_frame_unref(&f->tf);
|
ff_progress_frame_unref(&f->tf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
|
static av_cold void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
|
||||||
{
|
{
|
||||||
VP8Context *s = avctx->priv_data;
|
VP8Context *s = avctx->priv_data;
|
||||||
int i;
|
int i;
|
||||||
@ -144,7 +144,7 @@ static void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
|
|||||||
FF_HW_SIMPLE_CALL(avctx, flush);
|
FF_HW_SIMPLE_CALL(avctx, flush);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vp8_decode_flush(AVCodecContext *avctx)
|
static av_cold void vp8_decode_flush(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
vp8_decode_flush_impl(avctx, 0);
|
vp8_decode_flush_impl(avctx, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user