1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/diracdec: Mark flush as av_cold

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-05-28 14:08:34 +02:00
parent 0f3090cbd1
commit 8cbf7e8408

View File

@ -351,7 +351,7 @@ static int alloc_buffers(DiracContext *s, int stride)
return 0; return 0;
} }
static void free_sequence_buffers(DiracContext *s) static av_cold void free_sequence_buffers(DiracContext *s)
{ {
int i, j, k; int i, j, k;
@ -413,7 +413,7 @@ static av_cold int dirac_decode_init(AVCodecContext *avctx)
return 0; return 0;
} }
static void dirac_decode_flush(AVCodecContext *avctx) static av_cold void dirac_decode_flush(AVCodecContext *avctx)
{ {
DiracContext *s = avctx->priv_data; DiracContext *s = avctx->priv_data;
free_sequence_buffers(s); free_sequence_buffers(s);