[FFmpeg-cvslog] avcodec/mjpegenc: Mark ff_mjpeg_encode_close() as av_cold

Michael Niedermayer git at videolan.org
Fri Feb 27 16:54:53 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 27 16:38:08 2015 +0100| [f8b743b9e61fc32e3fbed5465b164eef6324322f] | committer: Michael Niedermayer

avcodec/mjpegenc: Mark ff_mjpeg_encode_close() as av_cold

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8b743b9e61fc32e3fbed5465b164eef6324322f
---

 libavcodec/mjpegenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index 001833c..24f8d1d 100644
--- a/libavcodec/mjpegenc.c
+++ b/libavcodec/mjpegenc.c
@@ -112,7 +112,7 @@ av_cold int ff_mjpeg_encode_init(MpegEncContext *s)
     return 0;
 }
 
-void ff_mjpeg_encode_close(MpegEncContext *s)
+av_cold void ff_mjpeg_encode_close(MpegEncContext *s)
 {
     av_freep(&s->mjpeg_ctx);
 }



More information about the ffmpeg-cvslog mailing list