Mercurial > libavcodec.hg
comparison gif.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 | 448466ff832a |
children | 5b3acf9fd50a |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
306 int64_t time, file_time; | 306 int64_t time, file_time; |
307 uint8_t buffer[100]; /* data chunks */ | 307 uint8_t buffer[100]; /* data chunks */ |
308 AVFrame picture; | 308 AVFrame picture; |
309 } GIFContext; | 309 } GIFContext; |
310 | 310 |
311 static int gif_encode_init(AVCodecContext *avctx) | 311 static av_cold int gif_encode_init(AVCodecContext *avctx) |
312 { | 312 { |
313 GIFContext *s = avctx->priv_data; | 313 GIFContext *s = avctx->priv_data; |
314 | 314 |
315 avctx->coded_frame = &s->picture; | 315 avctx->coded_frame = &s->picture; |
316 return 0; | 316 return 0; |