Mercurial > libavcodec.hg
comparison vp3.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | 7fa807dd7958 |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
1931 } | 1931 } |
1932 | 1932 |
1933 /* | 1933 /* |
1934 * This is the ffmpeg/libavcodec API init function. | 1934 * This is the ffmpeg/libavcodec API init function. |
1935 */ | 1935 */ |
1936 static int vp3_decode_init(AVCodecContext *avctx) | 1936 static av_cold int vp3_decode_init(AVCodecContext *avctx) |
1937 { | 1937 { |
1938 Vp3DecodeContext *s = avctx->priv_data; | 1938 Vp3DecodeContext *s = avctx->priv_data; |
1939 int i, inter, plane; | 1939 int i, inter, plane; |
1940 int c_width; | 1940 int c_width; |
1941 int c_height; | 1941 int c_height; |
2308 } | 2308 } |
2309 | 2309 |
2310 /* | 2310 /* |
2311 * This is the ffmpeg/libavcodec API module cleanup function. | 2311 * This is the ffmpeg/libavcodec API module cleanup function. |
2312 */ | 2312 */ |
2313 static int vp3_decode_end(AVCodecContext *avctx) | 2313 static av_cold int vp3_decode_end(AVCodecContext *avctx) |
2314 { | 2314 { |
2315 Vp3DecodeContext *s = avctx->priv_data; | 2315 Vp3DecodeContext *s = avctx->priv_data; |
2316 int i; | 2316 int i; |
2317 | 2317 |
2318 av_free(s->superblock_coding); | 2318 av_free(s->superblock_coding); |