diff options
author | Andreas Rheinhardt <[email protected]> | 2025-09-05 01:09:49 +0200 |
---|---|---|
committer | James Almer <[email protected]> | 2025-09-13 20:37:03 +0000 |
commit | 1df63acdc486d08fccbd0f3d19eb0398486c8e00 (patch) | |
tree | 27761d78ce04dd01afc2cf90c1d1eb480de0c3e1 /libavcodec/rtjpeg.c | |
parent | bc545bae3be34e71980f93259dfca1b8bb28bd92 (diff) |
avcodec: Add av_cold to flush,init,close functions missing it
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/rtjpeg.c')
-rw-r--r-- | libavcodec/rtjpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/rtjpeg.c b/libavcodec/rtjpeg.c index 734e3875da..839eea20b5 100644 --- a/libavcodec/rtjpeg.c +++ b/libavcodec/rtjpeg.c @@ -18,6 +18,8 @@ * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "get_bits.h" #include "rtjpeg.h" @@ -167,7 +169,7 @@ void ff_rtjpeg_decode_init(RTJpegContext *c, int width, int height, c->h = height; } -void ff_rtjpeg_init(RTJpegContext *c, struct AVCodecContext *avctx) +av_cold void ff_rtjpeg_init(RTJpegContext *c, struct AVCodecContext *avctx) { int i; |