]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/loco.c
h264.c: constify all uses of H264Context in slice and lower-level functions
[ffmpeg] / libavcodec / loco.c
index 427a56f0fab7dd98014f240478ed4f46125b1531..6be081d8ad3ef4f78b29563d49ab9bac49caa76e 100644 (file)
@@ -283,7 +283,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
         break;
     default:
         l->lossy = AV_RL32(avctx->extradata + 8);
-        av_log_ask_for_sample(avctx, "This is LOCO codec version %i.\n", version);
+        avpriv_request_sample(avctx, "LOCO codec version %i", version);
     }
 
     l->mode = AV_RL32(avctx->extradata + 4);
@@ -317,11 +317,11 @@ static av_cold int decode_init(AVCodecContext *avctx)
 
 AVCodec ff_loco_decoder = {
     .name           = "loco",
+    .long_name      = NULL_IF_CONFIG_SMALL("LOCO"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_LOCO,
     .priv_data_size = sizeof(LOCOContext),
     .init           = decode_init,
     .decode         = decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name      = NULL_IF_CONFIG_SMALL("LOCO"),
 };