]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion1.c
avformat: use ff_alloc_extradata()
[ffmpeg] / libavcodec / truemotion1.c
index 7e94deba7ef3772b06bc4264e9a7dea4a855c1e2..d72cee8aeabb29cc30e0266772f30bfe236ec9a2 100644 (file)
@@ -902,6 +902,7 @@ static av_cold int truemotion1_decode_end(AVCodecContext *avctx)
 
 AVCodec ff_truemotion1_decoder = {
     .name           = "truemotion1",
+    .long_name      = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_TRUEMOTION1,
     .priv_data_size = sizeof(TrueMotion1Context),
@@ -909,5 +910,4 @@ AVCodec ff_truemotion1_decoder = {
     .close          = truemotion1_decode_end,
     .decode         = truemotion1_decode_frame,
     .capabilities   = CODEC_CAP_DR1,
-    .long_name      = NULL_IF_CONFIG_SMALL("Duck TrueMotion 1.0"),
 };