You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/exrenc: add av_cold to some functions
This commit is contained in:
@@ -91,7 +91,7 @@ typedef struct EXRContext {
|
|||||||
uint8_t shifttable[512];
|
uint8_t shifttable[512];
|
||||||
} EXRContext;
|
} EXRContext;
|
||||||
|
|
||||||
static int encode_init(AVCodecContext *avctx)
|
static av_cold int encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
EXRContext *s = avctx->priv_data;
|
EXRContext *s = avctx->priv_data;
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ static int encode_init(AVCodecContext *avctx)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int encode_close(AVCodecContext *avctx)
|
static av_cold int encode_close(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
EXRContext *s = avctx->priv_data;
|
EXRContext *s = avctx->priv_data;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user