]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/jpeglsenc.c
part 1 of EAC3 support
[ffmpeg] / libavcodec / jpeglsenc.c
index 501e2f9e5034f598c1b676c2e3a490bc3db95a6e..3ca685b055ab7f01d67008a4cd57b14f0797ca28 100644 (file)
@@ -368,7 +368,7 @@ static int encode_picture_ls(AVCodecContext *avctx, unsigned char *buf, int buf_
     return put_bits_count(&pb) >> 3;
 }
 
-static int encode_init_ls(AVCodecContext *ctx) {
+static av_cold int encode_init_ls(AVCodecContext *ctx) {
     JpeglsContext *c = (JpeglsContext*)ctx->priv_data;
 
     c->avctx = ctx;
@@ -381,7 +381,7 @@ static int encode_init_ls(AVCodecContext *ctx) {
     return 0;
 }
 
-AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless jpeg shouldnt need them
+AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them
     "jpegls",
     CODEC_TYPE_VIDEO,
     CODEC_ID_JPEGLS,