Mercurial > libavcodec.hg
comparison mjpegenc.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 | 470601203f44 |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
42 /* use two quantizer tables (one for luminance and one for chrominance) */ | 42 /* use two quantizer tables (one for luminance and one for chrominance) */ |
43 /* not yet working */ | 43 /* not yet working */ |
44 #undef TWOMATRIXES | 44 #undef TWOMATRIXES |
45 | 45 |
46 | 46 |
47 int ff_mjpeg_encode_init(MpegEncContext *s) | 47 av_cold int ff_mjpeg_encode_init(MpegEncContext *s) |
48 { | 48 { |
49 MJpegContext *m; | 49 MJpegContext *m; |
50 | 50 |
51 m = av_malloc(sizeof(MJpegContext)); | 51 m = av_malloc(sizeof(MJpegContext)); |
52 if (!m) | 52 if (!m) |