Mercurial > libavcodec.hg
comparison jpeglsenc.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 | 4dbe6578f811 |
children | 5b3acf9fd50a |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
366 emms_c(); | 366 emms_c(); |
367 | 367 |
368 return put_bits_count(&pb) >> 3; | 368 return put_bits_count(&pb) >> 3; |
369 } | 369 } |
370 | 370 |
371 static int encode_init_ls(AVCodecContext *ctx) { | 371 static av_cold int encode_init_ls(AVCodecContext *ctx) { |
372 JpeglsContext *c = (JpeglsContext*)ctx->priv_data; | 372 JpeglsContext *c = (JpeglsContext*)ctx->priv_data; |
373 | 373 |
374 c->avctx = ctx; | 374 c->avctx = ctx; |
375 ctx->coded_frame = &c->picture; | 375 ctx->coded_frame = &c->picture; |
376 | 376 |