Mercurial > libavcodec.hg
comparison h263dec.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 | 493dc59d469a |
children | 76a252cc9ba3 |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
33 #include "msmpeg4.h" | 33 #include "msmpeg4.h" |
34 | 34 |
35 //#define DEBUG | 35 //#define DEBUG |
36 //#define PRINT_FRAME_TIME | 36 //#define PRINT_FRAME_TIME |
37 | 37 |
38 int ff_h263_decode_init(AVCodecContext *avctx) | 38 av_cold int ff_h263_decode_init(AVCodecContext *avctx) |
39 { | 39 { |
40 MpegEncContext *s = avctx->priv_data; | 40 MpegEncContext *s = avctx->priv_data; |
41 | 41 |
42 s->avctx = avctx; | 42 s->avctx = avctx; |
43 s->out_format = FMT_H263; | 43 s->out_format = FMT_H263; |
117 h263_decode_init_vlc(s); | 117 h263_decode_init_vlc(s); |
118 | 118 |
119 return 0; | 119 return 0; |
120 } | 120 } |
121 | 121 |
122 int ff_h263_decode_end(AVCodecContext *avctx) | 122 av_cold int ff_h263_decode_end(AVCodecContext *avctx) |
123 { | 123 { |
124 MpegEncContext *s = avctx->priv_data; | 124 MpegEncContext *s = avctx->priv_data; |
125 | 125 |
126 MPV_common_end(s); | 126 MPV_common_end(s); |
127 return 0; | 127 return 0; |