Browse code

cosmetics: group remaining .name and .long_name.

See b2bed9325.

Clément Bœsch authored on 2013/10/04 22:33:20
Showing 60 changed files
... ...
@@ -150,10 +150,10 @@ static int zero12v_decode_frame(AVCodecContext *avctx, void *data,
150 150
 
151 151
 AVCodec ff_zero12v_decoder = {
152 152
     .name           = "012v",
153
+    .long_name      = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
153 154
     .type           = AVMEDIA_TYPE_VIDEO,
154 155
     .id             = AV_CODEC_ID_012V,
155 156
     .init           = zero12v_decode_init,
156 157
     .decode         = zero12v_decode_frame,
157 158
     .capabilities   = CODEC_CAP_DR1,
158
-    .long_name      = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
159 159
 };
... ...
@@ -119,14 +119,13 @@ static int decode_frame(AVCodecContext *avctx, void *data,
119 119
 
120 120
 AVCodec ff_avrn_decoder = {
121 121
     .name           = "avrn",
122
+    .long_name      = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
122 123
     .type           = AVMEDIA_TYPE_VIDEO,
123 124
     .id             = AV_CODEC_ID_AVRN,
124 125
     .priv_data_size = sizeof(AVRnContext),
125 126
     .init           = init,
126 127
     .close          = end,
127 128
     .decode         = decode_frame,
128
-    .long_name      = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
129 129
     .capabilities   = CODEC_CAP_DR1,
130 130
     .max_lowres     = 3,
131 131
 };
132
-
... ...
@@ -121,10 +121,10 @@ static int avui_decode_frame(AVCodecContext *avctx, void *data,
121 121
 
122 122
 AVCodec ff_avui_decoder = {
123 123
     .name         = "avui",
124
+    .long_name    = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
124 125
     .type         = AVMEDIA_TYPE_VIDEO,
125 126
     .id           = AV_CODEC_ID_AVUI,
126 127
     .init         = avui_decode_init,
127 128
     .decode       = avui_decode_frame,
128 129
     .capabilities = CODEC_CAP_DR1,
129
-    .long_name    = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
130 130
 };
... ...
@@ -101,6 +101,7 @@ static av_cold int avui_encode_close(AVCodecContext *avctx)
101 101
 
102 102
 AVCodec ff_avui_encoder = {
103 103
     .name         = "avui",
104
+    .long_name    = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
104 105
     .type         = AVMEDIA_TYPE_VIDEO,
105 106
     .id           = AV_CODEC_ID_AVUI,
106 107
     .init         = avui_encode_init,
... ...
@@ -108,5 +109,4 @@ AVCodec ff_avui_encoder = {
108 108
     .close        = avui_encode_close,
109 109
     .capabilities = CODEC_CAP_EXPERIMENTAL,
110 110
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_UYVY422, AV_PIX_FMT_NONE },
111
-    .long_name    = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
112 111
 };
... ...
@@ -220,6 +220,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
220 220
 #if CONFIG_BINTEXT_DECODER
221 221
 AVCodec ff_bintext_decoder = {
222 222
     .name           = "bintext",
223
+    .long_name      = NULL_IF_CONFIG_SMALL("Binary text"),
223 224
     .type           = AVMEDIA_TYPE_VIDEO,
224 225
     .id             = AV_CODEC_ID_BINTEXT,
225 226
     .priv_data_size = sizeof(XbinContext),
... ...
@@ -227,12 +228,12 @@ AVCodec ff_bintext_decoder = {
227 227
     .close          = decode_end,
228 228
     .decode         = decode_frame,
229 229
     .capabilities   = CODEC_CAP_DR1,
230
-    .long_name      = NULL_IF_CONFIG_SMALL("Binary text"),
231 230
 };
232 231
 #endif
233 232
 #if CONFIG_XBIN_DECODER
234 233
 AVCodec ff_xbin_decoder = {
235 234
     .name           = "xbin",
235
+    .long_name      = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
236 236
     .type           = AVMEDIA_TYPE_VIDEO,
237 237
     .id             = AV_CODEC_ID_XBIN,
238 238
     .priv_data_size = sizeof(XbinContext),
... ...
@@ -240,12 +241,12 @@ AVCodec ff_xbin_decoder = {
240 240
     .close          = decode_end,
241 241
     .decode         = decode_frame,
242 242
     .capabilities   = CODEC_CAP_DR1,
243
-    .long_name      = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
244 243
 };
245 244
 #endif
246 245
 #if CONFIG_IDF_DECODER
247 246
 AVCodec ff_idf_decoder = {
248 247
     .name           = "idf",
248
+    .long_name      = NULL_IF_CONFIG_SMALL("iCEDraw text"),
249 249
     .type           = AVMEDIA_TYPE_VIDEO,
250 250
     .id             = AV_CODEC_ID_IDF,
251 251
     .priv_data_size = sizeof(XbinContext),
... ...
@@ -253,6 +254,5 @@ AVCodec ff_idf_decoder = {
253 253
     .close          = decode_end,
254 254
     .decode         = decode_frame,
255 255
     .capabilities   = CODEC_CAP_DR1,
256
-    .long_name      = NULL_IF_CONFIG_SMALL("iCEDraw text"),
257 256
 };
258 257
 #endif
... ...
@@ -211,9 +211,9 @@ static int brpix_decode_frame(AVCodecContext *avctx,
211 211
 
212 212
 AVCodec ff_brender_pix_decoder = {
213 213
     .name           = "brender_pix",
214
+    .long_name      = NULL_IF_CONFIG_SMALL("BRender PIX image"),
214 215
     .type           = AVMEDIA_TYPE_VIDEO,
215 216
     .id             = AV_CODEC_ID_BRENDER_PIX,
216 217
     .decode         = brpix_decode_frame,
217 218
     .capabilities   = CODEC_CAP_DR1,
218
-    .long_name      = NULL_IF_CONFIG_SMALL("BRender PIX image"),
219 219
 };
... ...
@@ -222,6 +222,7 @@ static av_cold int cpia_decode_end(AVCodecContext *avctx)
222 222
 
223 223
 AVCodec ff_cpia_decoder = {
224 224
     .name           = "cpia",
225
+    .long_name      = NULL_IF_CONFIG_SMALL("CPiA video format"),
225 226
     .type           = AVMEDIA_TYPE_VIDEO,
226 227
     .id             = AV_CODEC_ID_CPIA,
227 228
     .priv_data_size = sizeof(CpiaContext),
... ...
@@ -229,5 +230,4 @@ AVCodec ff_cpia_decoder = {
229 229
     .close          = cpia_decode_end,
230 230
     .decode         = cpia_decode_frame,
231 231
     .capabilities   = CODEC_CAP_DR1,
232
-    .long_name      = NULL_IF_CONFIG_SMALL("CPiA video format"),
233 232
 };
... ...
@@ -1088,6 +1088,7 @@ static AVClass h264_class = {
1088 1088
 
1089 1089
 AVCodec ff_h264_crystalhd_decoder = {
1090 1090
     .name           = "h264_crystalhd",
1091
+    .long_name      = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (CrystalHD acceleration)"),
1091 1092
     .type           = AVMEDIA_TYPE_VIDEO,
1092 1093
     .id             = AV_CODEC_ID_H264,
1093 1094
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1096,7 +1097,6 @@ AVCodec ff_h264_crystalhd_decoder = {
1096 1096
     .decode         = decode,
1097 1097
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
1098 1098
     .flush          = flush,
1099
-    .long_name      = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (CrystalHD acceleration)"),
1100 1099
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1101 1100
     .priv_class     = &h264_class,
1102 1101
 };
... ...
@@ -1112,6 +1112,7 @@ static AVClass mpeg2_class = {
1112 1112
 
1113 1113
 AVCodec ff_mpeg2_crystalhd_decoder = {
1114 1114
     .name           = "mpeg2_crystalhd",
1115
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-2 Video (CrystalHD acceleration)"),
1115 1116
     .type           = AVMEDIA_TYPE_VIDEO,
1116 1117
     .id             = AV_CODEC_ID_MPEG2VIDEO,
1117 1118
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1120,7 +1121,6 @@ AVCodec ff_mpeg2_crystalhd_decoder = {
1120 1120
     .decode         = decode,
1121 1121
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
1122 1122
     .flush          = flush,
1123
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-2 Video (CrystalHD acceleration)"),
1124 1123
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1125 1124
     .priv_class     = &mpeg2_class,
1126 1125
 };
... ...
@@ -1136,6 +1136,7 @@ static AVClass mpeg4_class = {
1136 1136
 
1137 1137
 AVCodec ff_mpeg4_crystalhd_decoder = {
1138 1138
     .name           = "mpeg4_crystalhd",
1139
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 (CrystalHD acceleration)"),
1139 1140
     .type           = AVMEDIA_TYPE_VIDEO,
1140 1141
     .id             = AV_CODEC_ID_MPEG4,
1141 1142
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1144,7 +1145,6 @@ AVCodec ff_mpeg4_crystalhd_decoder = {
1144 1144
     .decode         = decode,
1145 1145
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
1146 1146
     .flush          = flush,
1147
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 (CrystalHD acceleration)"),
1148 1147
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1149 1148
     .priv_class     = &mpeg4_class,
1150 1149
 };
... ...
@@ -1160,6 +1160,7 @@ static AVClass msmpeg4_class = {
1160 1160
 
1161 1161
 AVCodec ff_msmpeg4_crystalhd_decoder = {
1162 1162
     .name           = "msmpeg4_crystalhd",
1163
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 Microsoft variant version 3 (CrystalHD acceleration)"),
1163 1164
     .type           = AVMEDIA_TYPE_VIDEO,
1164 1165
     .id             = AV_CODEC_ID_MSMPEG4V3,
1165 1166
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1168,7 +1169,6 @@ AVCodec ff_msmpeg4_crystalhd_decoder = {
1168 1168
     .decode         = decode,
1169 1169
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_EXPERIMENTAL,
1170 1170
     .flush          = flush,
1171
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 Part 2 Microsoft variant version 3 (CrystalHD acceleration)"),
1172 1171
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1173 1172
     .priv_class     = &msmpeg4_class,
1174 1173
 };
... ...
@@ -1184,6 +1184,7 @@ static AVClass vc1_class = {
1184 1184
 
1185 1185
 AVCodec ff_vc1_crystalhd_decoder = {
1186 1186
     .name           = "vc1_crystalhd",
1187
+    .long_name      = NULL_IF_CONFIG_SMALL("SMPTE VC-1 (CrystalHD acceleration)"),
1187 1188
     .type           = AVMEDIA_TYPE_VIDEO,
1188 1189
     .id             = AV_CODEC_ID_VC1,
1189 1190
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1192,7 +1193,6 @@ AVCodec ff_vc1_crystalhd_decoder = {
1192 1192
     .decode         = decode,
1193 1193
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
1194 1194
     .flush          = flush,
1195
-    .long_name      = NULL_IF_CONFIG_SMALL("SMPTE VC-1 (CrystalHD acceleration)"),
1196 1195
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1197 1196
     .priv_class     = &vc1_class,
1198 1197
 };
... ...
@@ -1208,6 +1208,7 @@ static AVClass wmv3_class = {
1208 1208
 
1209 1209
 AVCodec ff_wmv3_crystalhd_decoder = {
1210 1210
     .name           = "wmv3_crystalhd",
1211
+    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 9 (CrystalHD acceleration)"),
1211 1212
     .type           = AVMEDIA_TYPE_VIDEO,
1212 1213
     .id             = AV_CODEC_ID_WMV3,
1213 1214
     .priv_data_size = sizeof(CHDContext),
... ...
@@ -1216,7 +1217,6 @@ AVCodec ff_wmv3_crystalhd_decoder = {
1216 1216
     .decode         = decode,
1217 1217
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
1218 1218
     .flush          = flush,
1219
-    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 9 (CrystalHD acceleration)"),
1220 1219
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE},
1221 1220
     .priv_class     = &wmv3_class,
1222 1221
 };
... ...
@@ -954,6 +954,7 @@ static const AVCodecDefault defaults[] = {
954 954
 
955 955
 AVCodec ff_dca_encoder = {
956 956
     .name                  = "dca",
957
+    .long_name             = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
957 958
     .type                  = AVMEDIA_TYPE_AUDIO,
958 959
     .id                    = AV_CODEC_ID_DTS,
959 960
     .priv_data_size        = sizeof(DCAContext),
... ...
@@ -962,7 +963,6 @@ AVCodec ff_dca_encoder = {
962 962
     .capabilities          = CODEC_CAP_EXPERIMENTAL,
963 963
     .sample_fmts           = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32,
964 964
                                                             AV_SAMPLE_FMT_NONE },
965
-    .long_name             = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
966 965
     .supported_samplerates = sample_rates,
967 966
     .channel_layouts       = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
968 967
                                                   AV_CH_LAYOUT_STEREO,
... ...
@@ -1927,6 +1927,7 @@ static int dirac_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
1927 1927
 
1928 1928
 AVCodec ff_dirac_decoder = {
1929 1929
     .name           = "dirac",
1930
+    .long_name      = NULL_IF_CONFIG_SMALL("BBC Dirac VC-2"),
1930 1931
     .type           = AVMEDIA_TYPE_VIDEO,
1931 1932
     .id             = AV_CODEC_ID_DIRAC,
1932 1933
     .priv_data_size = sizeof(DiracContext),
... ...
@@ -1935,5 +1936,4 @@ AVCodec ff_dirac_decoder = {
1935 1935
     .decode         = dirac_decode_frame,
1936 1936
     .capabilities   = CODEC_CAP_DELAY,
1937 1937
     .flush          = dirac_decode_flush,
1938
-    .long_name      = NULL_IF_CONFIG_SMALL("BBC Dirac VC-2"),
1939 1938
 };
... ...
@@ -907,11 +907,11 @@ erasure:
907 907
 
908 908
 AVCodec ff_evrc_decoder = {
909 909
     .name           = "evrc",
910
+    .long_name      = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
910 911
     .type           = AVMEDIA_TYPE_AUDIO,
911 912
     .id             = AV_CODEC_ID_EVRC,
912 913
     .init           = evrc_decode_init,
913 914
     .decode         = evrc_decode_frame,
914 915
     .capabilities   = CODEC_CAP_DR1,
915 916
     .priv_data_size = sizeof(EVRCContext),
916
-    .long_name      = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
917 917
 };
... ...
@@ -804,11 +804,11 @@ static av_cold int decode_end(AVCodecContext *avctx)
804 804
 
805 805
 AVCodec ff_exr_decoder = {
806 806
     .name               = "exr",
807
+    .long_name          = NULL_IF_CONFIG_SMALL("OpenEXR image"),
807 808
     .type               = AVMEDIA_TYPE_VIDEO,
808 809
     .id                 = AV_CODEC_ID_EXR,
809 810
     .priv_data_size     = sizeof(EXRContext),
810 811
     .close              = decode_end,
811 812
     .decode             = decode_frame,
812 813
     .capabilities       = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS,
813
-    .long_name          = NULL_IF_CONFIG_SMALL("OpenEXR image"),
814 814
 };
... ...
@@ -473,6 +473,7 @@ static av_cold int wavesynth_close(AVCodecContext *avc)
473 473
 
474 474
 AVCodec ff_ffwavesynth_decoder = {
475 475
     .name           = "wavesynth",
476
+    .long_name      = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"),
476 477
     .type           = AVMEDIA_TYPE_AUDIO,
477 478
     .id             = AV_CODEC_ID_FFWAVESYNTH,
478 479
     .priv_data_size = sizeof(struct wavesynth_context),
... ...
@@ -480,5 +481,4 @@ AVCodec ff_ffwavesynth_decoder = {
480 480
     .close          = wavesynth_close,
481 481
     .decode         = wavesynth_decode,
482 482
     .capabilities   = CODEC_CAP_DR1,
483
-    .long_name      = NULL_IF_CONFIG_SMALL("Wave synthesis pseudo-codec"),
484 483
 };
... ...
@@ -920,6 +920,7 @@ static av_cold int flashsv2_encode_end(AVCodecContext * avctx)
920 920
 
921 921
 AVCodec ff_flashsv2_encoder = {
922 922
     .name           = "flashsv2",
923
+    .long_name      = NULL_IF_CONFIG_SMALL("Flash Screen Video Version 2"),
923 924
     .type           = AVMEDIA_TYPE_VIDEO,
924 925
     .id             = AV_CODEC_ID_FLASHSV2,
925 926
     .priv_data_size = sizeof(FlashSV2Context),
... ...
@@ -927,5 +928,4 @@ AVCodec ff_flashsv2_encoder = {
927 927
     .encode2        = flashsv2_encode_frame,
928 928
     .close          = flashsv2_encode_end,
929 929
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
930
-    .long_name      = NULL_IF_CONFIG_SMALL("Flash Screen Video Version 2"),
931 930
 };
... ...
@@ -2465,12 +2465,12 @@ static int g723_1_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
2465 2465
 
2466 2466
 AVCodec ff_g723_1_encoder = {
2467 2467
     .name           = "g723_1",
2468
+    .long_name      = NULL_IF_CONFIG_SMALL("G.723.1"),
2468 2469
     .type           = AVMEDIA_TYPE_AUDIO,
2469 2470
     .id             = AV_CODEC_ID_G723_1,
2470 2471
     .priv_data_size = sizeof(G723_1_Context),
2471 2472
     .init           = g723_1_encode_init,
2472 2473
     .encode2        = g723_1_encode_frame,
2473
-    .long_name      = NULL_IF_CONFIG_SMALL("G.723.1"),
2474 2474
     .sample_fmts    = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,
2475 2475
                                                     AV_SAMPLE_FMT_NONE},
2476 2476
 };
... ...
@@ -716,11 +716,11 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
716 716
 
717 717
 AVCodec ff_g729_decoder = {
718 718
     .name           = "g729",
719
+    .long_name      = NULL_IF_CONFIG_SMALL("G.729"),
719 720
     .type           = AVMEDIA_TYPE_AUDIO,
720 721
     .id             = AV_CODEC_ID_G729,
721 722
     .priv_data_size = sizeof(G729Context),
722 723
     .init           = decoder_init,
723 724
     .decode         = decode_frame,
724 725
     .capabilities   = CODEC_CAP_DR1,
725
-    .long_name      = NULL_IF_CONFIG_SMALL("G.729"),
726 726
 };
... ...
@@ -5204,6 +5204,7 @@ AVCodec ff_h264_decoder = {
5204 5204
 #if CONFIG_H264_VDPAU_DECODER
5205 5205
 AVCodec ff_h264_vdpau_decoder = {
5206 5206
     .name           = "h264_vdpau",
5207
+    .long_name      = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)"),
5207 5208
     .type           = AVMEDIA_TYPE_VIDEO,
5208 5209
     .id             = AV_CODEC_ID_H264,
5209 5210
     .priv_data_size = sizeof(H264Context),
... ...
@@ -5212,7 +5213,6 @@ AVCodec ff_h264_vdpau_decoder = {
5212 5212
     .decode         = decode_frame,
5213 5213
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
5214 5214
     .flush          = flush_dpb,
5215
-    .long_name      = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)"),
5216 5215
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_VDPAU_H264,
5217 5216
                                                      AV_PIX_FMT_NONE},
5218 5217
     .profiles       = NULL_IF_CONFIG_SMALL(profiles),
... ...
@@ -1038,6 +1038,7 @@ static int j2kenc_destroy(AVCodecContext *avctx)
1038 1038
 
1039 1039
 AVCodec ff_jpeg2000_encoder = {
1040 1040
     .name           = "jpeg2000",
1041
+    .long_name      = NULL_IF_CONFIG_SMALL("JPEG 2000"),
1041 1042
     .type           = AVMEDIA_TYPE_VIDEO,
1042 1043
     .id             = AV_CODEC_ID_JPEG2000,
1043 1044
     .priv_data_size = sizeof(Jpeg2000EncoderContext),
... ...
@@ -1045,7 +1046,6 @@ AVCodec ff_jpeg2000_encoder = {
1045 1045
     .encode2        = encode_frame,
1046 1046
     .close          = j2kenc_destroy,
1047 1047
     .capabilities   = CODEC_CAP_EXPERIMENTAL,
1048
-    .long_name      = NULL_IF_CONFIG_SMALL("JPEG 2000"),
1049 1048
     .pix_fmts       = (const enum AVPixelFormat[]) {
1050 1049
         AV_PIX_FMT_RGB24, AV_PIX_FMT_YUV444P, AV_PIX_FMT_GRAY8,
1051 1050
 /*      AV_PIX_FMT_YUV420P,
... ...
@@ -124,6 +124,7 @@ static const AVProfile profiles[] = {
124 124
 
125 125
 AVCodec ff_libaacplus_encoder = {
126 126
     .name           = "libaacplus",
127
+    .long_name      = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"),
127 128
     .type           = AVMEDIA_TYPE_AUDIO,
128 129
     .id             = AV_CODEC_ID_AAC,
129 130
     .priv_data_size = sizeof(aacPlusAudioContext),
... ...
@@ -133,7 +134,6 @@ AVCodec ff_libaacplus_encoder = {
133 133
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
134 134
                                                      AV_SAMPLE_FMT_FLT,
135 135
                                                      AV_SAMPLE_FMT_NONE },
136
-    .long_name      = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"),
137 136
     .profiles       = profiles,
138 137
     .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
139 138
                                             AV_CH_LAYOUT_STEREO,
... ...
@@ -129,6 +129,7 @@ static int libcelt_dec_decode(AVCodecContext *c, void *data,
129 129
 
130 130
 AVCodec ff_libcelt_decoder = {
131 131
     .name           = "libcelt",
132
+    .long_name      = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"),
132 133
     .type           = AVMEDIA_TYPE_AUDIO,
133 134
     .id             = AV_CODEC_ID_CELT,
134 135
     .priv_data_size = sizeof(struct libcelt_context),
... ...
@@ -136,5 +137,4 @@ AVCodec ff_libcelt_decoder = {
136 136
     .close          = libcelt_dec_close,
137 137
     .decode         = libcelt_dec_decode,
138 138
     .capabilities   = CODEC_CAP_DR1,
139
-    .long_name      = NULL_IF_CONFIG_SMALL("Xiph CELT decoder using libcelt"),
140 139
 };
... ...
@@ -132,6 +132,7 @@ static const int libshine_sample_rates[] = {
132 132
 
133 133
 AVCodec ff_libshine_encoder = {
134 134
     .name                  = "libshine",
135
+    .long_name             = NULL_IF_CONFIG_SMALL("libshine MP3 (MPEG audio layer 3)"),
135 136
     .type                  = AVMEDIA_TYPE_AUDIO,
136 137
     .id                    = CODEC_ID_MP3,
137 138
     .priv_data_size        = sizeof(SHINEContext),
... ...
@@ -145,5 +146,4 @@ AVCodec ff_libshine_encoder = {
145 145
     .channel_layouts       = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
146 146
                                                   AV_CH_LAYOUT_STEREO,
147 147
                                                   0 },
148
-    .long_name             = NULL_IF_CONFIG_SMALL("libshine MP3 (MPEG audio layer 3)"),
149 148
 };
... ...
@@ -177,6 +177,7 @@ static const AVClass libtwolame_class = {
177 177
 
178 178
 AVCodec ff_libtwolame_encoder = {
179 179
     .name                  = "libtwolame",
180
+    .long_name             = NULL_IF_CONFIG_SMALL("libtwolame MP2 (MPEG audio layer 2)"),
180 181
     .type                  = AVMEDIA_TYPE_AUDIO,
181 182
     .id                    = AV_CODEC_ID_MP2,
182 183
     .priv_data_size        = sizeof(TWOLAMEContext),
... ...
@@ -193,6 +194,5 @@ AVCodec ff_libtwolame_encoder = {
193 193
                                                   AV_CH_LAYOUT_STEREO,
194 194
                                                   0 },
195 195
     .supported_samplerates = (const int[]){ 16000, 22050, 24000, 32000, 44100, 48000, 0 },
196
-    .long_name             = NULL_IF_CONFIG_SMALL("libtwolame MP2 (MPEG audio layer 2)"),
197 196
     .priv_class            = &libtwolame_class,
198 197
 };
... ...
@@ -188,6 +188,7 @@ static int oggvorbis_decode_close(AVCodecContext *avccontext) {
188 188
 
189 189
 AVCodec ff_libvorbis_decoder = {
190 190
     .name           = "libvorbis",
191
+    .long_name      = NULL_IF_CONFIG_SMALL("libvorbis"),
191 192
     .type           = AVMEDIA_TYPE_AUDIO,
192 193
     .id             = AV_CODEC_ID_VORBIS,
193 194
     .priv_data_size = sizeof(OggVorbisDecContext),
... ...
@@ -195,5 +196,4 @@ AVCodec ff_libvorbis_decoder = {
195 195
     .decode         = oggvorbis_decode_frame,
196 196
     .close          = oggvorbis_decode_close,
197 197
     .capabilities   = CODEC_CAP_DELAY,
198
-    .long_name      = NULL_IF_CONFIG_SMALL("libvorbis"),
199 198
 };
... ...
@@ -760,6 +760,7 @@ AVCodec ff_libx264_encoder = {
760 760
 
761 761
 AVCodec ff_libx264rgb_encoder = {
762 762
     .name           = "libx264rgb",
763
+    .long_name      = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB"),
763 764
     .type           = AVMEDIA_TYPE_VIDEO,
764 765
     .id             = AV_CODEC_ID_H264,
765 766
     .priv_data_size = sizeof(X264Context),
... ...
@@ -767,7 +768,6 @@ AVCodec ff_libx264rgb_encoder = {
767 767
     .encode2        = X264_frame,
768 768
     .close          = X264_close,
769 769
     .capabilities   = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
770
-    .long_name      = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB"),
771 770
     .priv_class     = &rgbclass,
772 771
     .defaults       = x264_defaults,
773 772
     .pix_fmts       = pix_fmts_8bit_rgb,
... ...
@@ -457,6 +457,7 @@ static const AVClass teletext_class = {
457 457
 
458 458
 AVCodec ff_libzvbi_teletext_decoder = {
459 459
     .name      = "libzvbi_teletextdec",
460
+    .long_name = NULL_IF_CONFIG_SMALL("Libzvbi DVB teletext decoder"),
460 461
     .type      = AVMEDIA_TYPE_SUBTITLE,
461 462
     .id        = CODEC_ID_DVB_TELETEXT,
462 463
     .priv_data_size = sizeof(TeletextContext),
... ...
@@ -464,6 +465,5 @@ AVCodec ff_libzvbi_teletext_decoder = {
464 464
     .close     = teletext_close_decoder,
465 465
     .decode    = teletext_decode_frame,
466 466
     .flush     = teletext_flush,
467
-    .long_name = NULL_IF_CONFIG_SMALL("Libzvbi DVB teletext decoder"),
468 467
     .priv_class= &teletext_class,
469 468
 };
... ...
@@ -532,6 +532,7 @@ AVCodec ff_mjpeg_encoder = {
532 532
 #if CONFIG_AMV_ENCODER
533 533
 AVCodec ff_amv_encoder = {
534 534
     .name           = "amv",
535
+    .long_name      = NULL_IF_CONFIG_SMALL("AMV Video"),
535 536
     .type           = AVMEDIA_TYPE_VIDEO,
536 537
     .id             = AV_CODEC_ID_AMV,
537 538
     .priv_data_size = sizeof(MpegEncContext),
... ...
@@ -541,6 +542,5 @@ AVCodec ff_amv_encoder = {
541 541
     .pix_fmts       = (const enum AVPixelFormat[]){
542 542
         AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_NONE
543 543
     },
544
-    .long_name      = NULL_IF_CONFIG_SMALL("AMV Video"),
545 544
 };
546 545
 #endif
... ...
@@ -2579,6 +2579,7 @@ AVCodec ff_mpeg2video_decoder = {
2579 2579
 //legacy decoder
2580 2580
 AVCodec ff_mpegvideo_decoder = {
2581 2581
     .name           = "mpegvideo",
2582
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
2582 2583
     .type           = AVMEDIA_TYPE_VIDEO,
2583 2584
     .id             = AV_CODEC_ID_MPEG2VIDEO,
2584 2585
     .priv_data_size = sizeof(Mpeg1Context),
... ...
@@ -2588,7 +2589,6 @@ AVCodec ff_mpegvideo_decoder = {
2588 2588
     .capabilities   = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
2589 2589
     .flush          = flush,
2590 2590
     .max_lowres     = 3,
2591
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
2592 2591
 };
2593 2592
 
2594 2593
 #if CONFIG_MPEG_XVMC_DECODER
... ...
@@ -2628,6 +2628,7 @@ AVCodec ff_mpeg_xvmc_decoder = {
2628 2628
 #if CONFIG_MPEG_VDPAU_DECODER
2629 2629
 AVCodec ff_mpeg_vdpau_decoder = {
2630 2630
     .name           = "mpegvideo_vdpau",
2631
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1/2 video (VDPAU acceleration)"),
2631 2632
     .type           = AVMEDIA_TYPE_VIDEO,
2632 2633
     .id             = AV_CODEC_ID_MPEG2VIDEO,
2633 2634
     .priv_data_size = sizeof(Mpeg1Context),
... ...
@@ -2637,13 +2638,13 @@ AVCodec ff_mpeg_vdpau_decoder = {
2637 2637
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED |
2638 2638
                       CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
2639 2639
     .flush          = flush,
2640
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1/2 video (VDPAU acceleration)"),
2641 2640
 };
2642 2641
 #endif
2643 2642
 
2644 2643
 #if CONFIG_MPEG1_VDPAU_DECODER
2645 2644
 AVCodec ff_mpeg1_vdpau_decoder = {
2646 2645
     .name           = "mpeg1video_vdpau",
2646
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
2647 2647
     .type           = AVMEDIA_TYPE_VIDEO,
2648 2648
     .id             = AV_CODEC_ID_MPEG1VIDEO,
2649 2649
     .priv_data_size = sizeof(Mpeg1Context),
... ...
@@ -2653,6 +2654,5 @@ AVCodec ff_mpeg1_vdpau_decoder = {
2653 2653
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED |
2654 2654
                       CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
2655 2655
     .flush          = flush,
2656
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
2657 2656
 };
2658 2657
 #endif
... ...
@@ -2390,6 +2390,7 @@ AVCodec ff_mpeg4_decoder = {
2390 2390
 #if CONFIG_MPEG4_VDPAU_DECODER
2391 2391
 AVCodec ff_mpeg4_vdpau_decoder = {
2392 2392
     .name           = "mpeg4_vdpau",
2393
+    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
2393 2394
     .type           = AVMEDIA_TYPE_VIDEO,
2394 2395
     .id             = AV_CODEC_ID_MPEG4,
2395 2396
     .priv_data_size = sizeof(MpegEncContext),
... ...
@@ -2398,7 +2399,6 @@ AVCodec ff_mpeg4_vdpau_decoder = {
2398 2398
     .decode         = ff_h263_decode_frame,
2399 2399
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
2400 2400
                       CODEC_CAP_HWACCEL_VDPAU,
2401
-    .long_name      = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
2402 2401
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_MPEG4,
2403 2402
                                                   AV_PIX_FMT_NONE },
2404 2403
     .priv_class     = &mpeg4_vdpau_class,
... ...
@@ -300,6 +300,7 @@ static av_cold int encode_end(AVCodecContext *avctx)
300 300
 
301 301
 AVCodec ff_msvideo1_encoder = {
302 302
     .name           = "msvideo1",
303
+    .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video-1"),
303 304
     .type           = AVMEDIA_TYPE_VIDEO,
304 305
     .id             = AV_CODEC_ID_MSVIDEO1,
305 306
     .priv_data_size = sizeof(Msvideo1EncContext),
... ...
@@ -307,5 +308,4 @@ AVCodec ff_msvideo1_encoder = {
307 307
     .encode2        = encode_frame,
308 308
     .close          = encode_end,
309 309
     .pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_RGB555, AV_PIX_FMT_NONE},
310
-    .long_name = NULL_IF_CONFIG_SMALL("Microsoft Video-1"),
311 310
 };
... ...
@@ -260,6 +260,7 @@ static av_cold int mvc_decode_end(AVCodecContext *avctx)
260 260
 #if CONFIG_MVC1_DECODER
261 261
 AVCodec ff_mvc1_decoder = {
262 262
     .name           = "mvc1",
263
+    .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"),
263 264
     .type           = AVMEDIA_TYPE_VIDEO,
264 265
     .id             = AV_CODEC_ID_MVC1,
265 266
     .priv_data_size = sizeof(MvcContext),
... ...
@@ -267,13 +268,13 @@ AVCodec ff_mvc1_decoder = {
267 267
     .close          = mvc_decode_end,
268 268
     .decode         = mvc_decode_frame,
269 269
     .capabilities   = CODEC_CAP_DR1,
270
-    .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 1"),
271 270
 };
272 271
 #endif
273 272
 
274 273
 #if CONFIG_MVC2_DECODER
275 274
 AVCodec ff_mvc2_decoder = {
276 275
     .name           = "mvc2",
276
+    .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"),
277 277
     .type           = AVMEDIA_TYPE_VIDEO,
278 278
     .id             = AV_CODEC_ID_MVC2,
279 279
     .priv_data_size = sizeof(MvcContext),
... ...
@@ -281,6 +282,5 @@ AVCodec ff_mvc2_decoder = {
281 281
     .close          = mvc_decode_end,
282 282
     .decode         = mvc_decode_frame,
283 283
     .capabilities   = CODEC_CAP_DR1,
284
-    .long_name      = NULL_IF_CONFIG_SMALL("Silicon Graphics Motion Video Compressor 2"),
285 284
 };
286 285
 #endif
... ...
@@ -430,6 +430,7 @@ static int paf_aud_decode(AVCodecContext *avctx, void *data,
430 430
 
431 431
 AVCodec ff_paf_video_decoder = {
432 432
     .name           = "paf_video",
433
+    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
433 434
     .type           = AVMEDIA_TYPE_VIDEO,
434 435
     .id             = AV_CODEC_ID_PAF_VIDEO,
435 436
     .priv_data_size = sizeof(PAFVideoDecContext),
... ...
@@ -437,15 +438,14 @@ AVCodec ff_paf_video_decoder = {
437 437
     .close          = paf_vid_close,
438 438
     .decode         = paf_vid_decode,
439 439
     .capabilities   = CODEC_CAP_DR1,
440
-    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Video"),
441 440
 };
442 441
 
443 442
 AVCodec ff_paf_audio_decoder = {
444 443
     .name           = "paf_audio",
444
+    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
445 445
     .type           = AVMEDIA_TYPE_AUDIO,
446 446
     .id             = AV_CODEC_ID_PAF_AUDIO,
447 447
     .init           = paf_aud_init,
448 448
     .decode         = paf_aud_decode,
449 449
     .capabilities   = CODEC_CAP_DR1,
450
-    .long_name      = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File Audio"),
451 450
 };
... ...
@@ -662,12 +662,12 @@ static av_cold int decode_close(AVCodecContext *avctx)
662 662
 
663 663
 AVCodec ff_prores_decoder = {
664 664
     .name           = "prores",
665
+    .long_name      = NULL_IF_CONFIG_SMALL("ProRes"),
665 666
     .type           = AVMEDIA_TYPE_VIDEO,
666 667
     .id             = AV_CODEC_ID_PRORES,
667 668
     .priv_data_size = sizeof(ProresContext),
668 669
     .init           = decode_init,
669 670
     .close          = decode_close,
670 671
     .decode         = decode_frame,
671
-    .long_name      = NULL_IF_CONFIG_SMALL("ProRes"),
672 672
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS,
673 673
 };
... ...
@@ -599,6 +599,7 @@ static av_cold int prores_encode_close(AVCodecContext *avctx)
599 599
 
600 600
 AVCodec ff_prores_aw_encoder = {
601 601
     .name           = "prores_aw",
602
+    .long_name      = NULL_IF_CONFIG_SMALL("Apple ProRes"),
602 603
     .type           = AVMEDIA_TYPE_VIDEO,
603 604
     .id             = AV_CODEC_ID_PRORES,
604 605
     .priv_data_size = sizeof(ProresContext),
... ...
@@ -606,13 +607,13 @@ AVCodec ff_prores_aw_encoder = {
606 606
     .close          = prores_encode_close,
607 607
     .encode2        = prores_encode_frame,
608 608
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUV422P10, AV_PIX_FMT_NONE},
609
-    .long_name      = NULL_IF_CONFIG_SMALL("Apple ProRes"),
610 609
     .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
611 610
     .profiles       = profiles
612 611
 };
613 612
 
614 613
 AVCodec ff_prores_encoder = {
615 614
     .name           = "prores",
615
+    .long_name      = NULL_IF_CONFIG_SMALL("Apple ProRes"),
616 616
     .type           = AVMEDIA_TYPE_VIDEO,
617 617
     .id             = AV_CODEC_ID_PRORES,
618 618
     .priv_data_size = sizeof(ProresContext),
... ...
@@ -620,7 +621,6 @@ AVCodec ff_prores_encoder = {
620 620
     .close          = prores_encode_close,
621 621
     .encode2        = prores_encode_frame,
622 622
     .pix_fmts       = (const enum AVPixelFormat[]){AV_PIX_FMT_YUV422P10, AV_PIX_FMT_NONE},
623
-    .long_name      = NULL_IF_CONFIG_SMALL("Apple ProRes"),
624 623
     .capabilities   = CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
625 624
     .profiles       = profiles
626 625
 };
... ...
@@ -112,11 +112,11 @@ AVCodec ff_r10k_decoder = {
112 112
 #if CONFIG_AVRP_DECODER
113 113
 AVCodec ff_avrp_decoder = {
114 114
     .name           = "avrp",
115
+    .long_name      = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
115 116
     .type           = AVMEDIA_TYPE_VIDEO,
116 117
     .id             = AV_CODEC_ID_AVRP,
117 118
     .init           = decode_init,
118 119
     .decode         = decode_frame,
119 120
     .capabilities   = CODEC_CAP_DR1,
120
-    .long_name = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
121 121
 };
122 122
 #endif
... ...
@@ -88,36 +88,36 @@ static av_cold int encode_close(AVCodecContext *avctx)
88 88
 #if CONFIG_R210_ENCODER
89 89
 AVCodec ff_r210_encoder = {
90 90
     .name           = "r210",
91
+    .long_name      = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
91 92
     .type           = AVMEDIA_TYPE_VIDEO,
92 93
     .id             = AV_CODEC_ID_R210,
93 94
     .init           = encode_init,
94 95
     .encode2        = encode_frame,
95 96
     .close          = encode_close,
96 97
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_RGB48, AV_PIX_FMT_NONE },
97
-    .long_name      = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
98 98
 };
99 99
 #endif
100 100
 #if CONFIG_R10K_ENCODER
101 101
 AVCodec ff_r10k_encoder = {
102 102
     .name           = "r10k",
103
+    .long_name      = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
103 104
     .type           = AVMEDIA_TYPE_VIDEO,
104 105
     .id             = AV_CODEC_ID_R10K,
105 106
     .init           = encode_init,
106 107
     .encode2        = encode_frame,
107 108
     .close          = encode_close,
108 109
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_RGB48, AV_PIX_FMT_NONE },
109
-    .long_name      = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
110 110
 };
111 111
 #endif
112 112
 #if CONFIG_AVRP_ENCODER
113 113
 AVCodec ff_avrp_encoder = {
114 114
     .name           = "avrp",
115
+    .long_name      = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
115 116
     .type           = AVMEDIA_TYPE_VIDEO,
116 117
     .id             = AV_CODEC_ID_AVRP,
117 118
     .init           = encode_init,
118 119
     .encode2        = encode_frame,
119 120
     .close          = encode_close,
120 121
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_RGB48, AV_PIX_FMT_NONE },
121
-    .long_name      = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
122 122
 };
123 123
 #endif
... ...
@@ -163,12 +163,12 @@ static int s302m_encode2_frame(AVCodecContext *avctx, AVPacket *avpkt,
163 163
 
164 164
 AVCodec ff_s302m_encoder = {
165 165
     .name                  = "s302m",
166
+    .long_name             = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
166 167
     .type                  = AVMEDIA_TYPE_AUDIO,
167 168
     .id                    = CODEC_ID_S302M,
168 169
     .priv_data_size        = sizeof(S302MEncContext),
169 170
     .init                  = s302m_encode_init,
170 171
     .encode2               = s302m_encode2_frame,
171
-    .long_name             = NULL_IF_CONFIG_SMALL("SMPTE 302M"),
172 172
     .sample_fmts           = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32,
173 173
                                                             AV_SAMPLE_FMT_S16,
174 174
                                                             AV_SAMPLE_FMT_NONE },
... ...
@@ -1296,6 +1296,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
1296 1296
 
1297 1297
 AVCodec ff_sanm_decoder = {
1298 1298
     .name           = "sanm",
1299
+    .long_name      = NULL_IF_CONFIG_SMALL("LucasArts SMUSH video"),
1299 1300
     .type           = AVMEDIA_TYPE_VIDEO,
1300 1301
     .id             = AV_CODEC_ID_SANM,
1301 1302
     .priv_data_size = sizeof(SANMVideoContext),
... ...
@@ -1303,5 +1304,4 @@ AVCodec ff_sanm_decoder = {
1303 1303
     .close          = decode_end,
1304 1304
     .decode         = decode_frame,
1305 1305
     .capabilities   = CODEC_CAP_DR1,
1306
-    .long_name      = NULL_IF_CONFIG_SMALL("LucasArts SMUSH video"),
1307 1306
 };
... ...
@@ -140,6 +140,7 @@ static av_cold int sgirle_decode_end(AVCodecContext *avctx)
140 140
 
141 141
 AVCodec ff_sgirle_decoder = {
142 142
     .name           = "sgirle",
143
+    .long_name      = NULL_IF_CONFIG_SMALL("SGI RLE 8-bit"),
143 144
     .type           = AVMEDIA_TYPE_VIDEO,
144 145
     .id             = AV_CODEC_ID_SGIRLE,
145 146
     .priv_data_size = sizeof(SGIRLEContext),
... ...
@@ -147,5 +148,4 @@ AVCodec ff_sgirle_decoder = {
147 147
     .close          = sgirle_decode_end,
148 148
     .decode         = sgirle_decode_frame,
149 149
     .capabilities   = CODEC_CAP_DR1,
150
-    .long_name      = NULL_IF_CONFIG_SMALL("SGI RLE 8-bit"),
151 150
 };
... ...
@@ -194,12 +194,12 @@ static const AVClass smvjpegdec_class = {
194 194
 
195 195
 AVCodec ff_smvjpeg_decoder = {
196 196
     .name           = "smvjpeg",
197
+    .long_name      = NULL_IF_CONFIG_SMALL("SMV JPEG"),
197 198
     .type           = AVMEDIA_TYPE_VIDEO,
198 199
     .id             = AV_CODEC_ID_SMVJPEG,
199 200
     .priv_data_size = sizeof(SMVJpegDecodeContext),
200 201
     .init           = smvjpeg_decode_init,
201 202
     .close          = smvjpeg_decode_end,
202 203
     .decode         = smvjpeg_decode_frame,
203
-    .long_name      = NULL_IF_CONFIG_SMALL("SMV JPEG"),
204 204
     .priv_class     = &smvjpegdec_class,
205 205
 };
... ...
@@ -587,6 +587,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
587 587
 
588 588
 AVCodec ff_snow_decoder = {
589 589
     .name           = "snow",
590
+    .long_name      = NULL_IF_CONFIG_SMALL("Snow"),
590 591
     .type           = AVMEDIA_TYPE_VIDEO,
591 592
     .id             = AV_CODEC_ID_SNOW,
592 593
     .priv_data_size = sizeof(SnowContext),
... ...
@@ -594,5 +595,4 @@ AVCodec ff_snow_decoder = {
594 594
     .close          = decode_end,
595 595
     .decode         = decode_frame,
596 596
     .capabilities   = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
597
-    .long_name      = NULL_IF_CONFIG_SMALL("Snow"),
598 597
 };
... ...
@@ -1878,6 +1878,7 @@ static const AVClass snowenc_class = {
1878 1878
 
1879 1879
 AVCodec ff_snow_encoder = {
1880 1880
     .name           = "snow",
1881
+    .long_name      = NULL_IF_CONFIG_SMALL("Snow"),
1881 1882
     .type           = AVMEDIA_TYPE_VIDEO,
1882 1883
     .id             = AV_CODEC_ID_SNOW,
1883 1884
     .priv_data_size = sizeof(SnowContext),
... ...
@@ -1889,7 +1890,6 @@ AVCodec ff_snow_encoder = {
1889 1889
         AV_PIX_FMT_GRAY8,
1890 1890
         AV_PIX_FMT_NONE
1891 1891
     },
1892
-    .long_name      = NULL_IF_CONFIG_SMALL("Snow"),
1893 1892
     .priv_class     = &snowenc_class,
1894 1893
 };
1895 1894
 
... ...
@@ -947,6 +947,7 @@ static int sonic_decode_frame(AVCodecContext *avctx,
947 947
 
948 948
 AVCodec ff_sonic_decoder = {
949 949
     .name           = "sonic",
950
+    .long_name      = NULL_IF_CONFIG_SMALL("Sonic"),
950 951
     .type           = AVMEDIA_TYPE_AUDIO,
951 952
     .id             = AV_CODEC_ID_SONIC,
952 953
     .priv_data_size = sizeof(SonicContext),
... ...
@@ -954,13 +955,13 @@ AVCodec ff_sonic_decoder = {
954 954
     .close          = sonic_decode_close,
955 955
     .decode         = sonic_decode_frame,
956 956
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_EXPERIMENTAL,
957
-    .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
958 957
 };
959 958
 #endif /* CONFIG_SONIC_DECODER */
960 959
 
961 960
 #if CONFIG_SONIC_ENCODER
962 961
 AVCodec ff_sonic_encoder = {
963 962
     .name           = "sonic",
963
+    .long_name      = NULL_IF_CONFIG_SMALL("Sonic"),
964 964
     .type           = AVMEDIA_TYPE_AUDIO,
965 965
     .id             = AV_CODEC_ID_SONIC,
966 966
     .priv_data_size = sizeof(SonicContext),
... ...
@@ -969,13 +970,13 @@ AVCodec ff_sonic_encoder = {
969 969
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
970 970
     .capabilities   = CODEC_CAP_EXPERIMENTAL,
971 971
     .close          = sonic_encode_close,
972
-    .long_name = NULL_IF_CONFIG_SMALL("Sonic"),
973 972
 };
974 973
 #endif
975 974
 
976 975
 #if CONFIG_SONIC_LS_ENCODER
977 976
 AVCodec ff_sonic_ls_encoder = {
978 977
     .name           = "sonicls",
978
+    .long_name      = NULL_IF_CONFIG_SMALL("Sonic lossless"),
979 979
     .type           = AVMEDIA_TYPE_AUDIO,
980 980
     .id             = AV_CODEC_ID_SONIC_LS,
981 981
     .priv_data_size = sizeof(SonicContext),
... ...
@@ -984,6 +985,5 @@ AVCodec ff_sonic_ls_encoder = {
984 984
     .sample_fmts    = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
985 985
     .capabilities   = CODEC_CAP_EXPERIMENTAL,
986 986
     .close          = sonic_encode_close,
987
-    .long_name = NULL_IF_CONFIG_SMALL("Sonic lossless"),
988 987
 };
989 988
 #endif
... ...
@@ -74,10 +74,10 @@ static int y216_decode_frame(AVCodecContext *avctx, void *data,
74 74
 
75 75
 AVCodec ff_targa_y216_decoder = {
76 76
     .name         = "targa_y216",
77
+    .long_name    = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"),
77 78
     .type         = AVMEDIA_TYPE_VIDEO,
78 79
     .id           = AV_CODEC_ID_TARGA_Y216,
79 80
     .init         = y216_decode_init,
80 81
     .decode       = y216_decode_frame,
81 82
     .capabilities = CODEC_CAP_DR1,
82
-    .long_name    = NULL_IF_CONFIG_SMALL("Pinnacle TARGA CineWave YUV16"),
83 83
 };
... ...
@@ -118,8 +118,8 @@ DECLARE_CLASS(text);
118 118
 
119 119
 AVCodec ff_text_decoder = {
120 120
     .name           = "text",
121
-    .priv_data_size = sizeof(TextContext),
122 121
     .long_name      = NULL_IF_CONFIG_SMALL("Raw text subtitle"),
122
+    .priv_data_size = sizeof(TextContext),
123 123
     .type           = AVMEDIA_TYPE_SUBTITLE,
124 124
     .id             = AV_CODEC_ID_TEXT,
125 125
     .decode         = text_decode_frame,
... ...
@@ -143,8 +143,8 @@ DECLARE_CLASS(vplayer);
143 143
 
144 144
 AVCodec ff_vplayer_decoder = {
145 145
     .name           = "vplayer",
146
-    .priv_data_size = sizeof(TextContext),
147 146
     .long_name      = NULL_IF_CONFIG_SMALL("VPlayer subtitle"),
147
+    .priv_data_size = sizeof(TextContext),
148 148
     .type           = AVMEDIA_TYPE_SUBTITLE,
149 149
     .id             = AV_CODEC_ID_VPLAYER,
150 150
     .decode         = text_decode_frame,
... ...
@@ -159,8 +159,8 @@ DECLARE_CLASS(pjs);
159 159
 
160 160
 AVCodec ff_pjs_decoder = {
161 161
     .name           = "pjs",
162
-    .priv_data_size = sizeof(TextContext),
163 162
     .long_name      = NULL_IF_CONFIG_SMALL("PJS subtitle"),
163
+    .priv_data_size = sizeof(TextContext),
164 164
     .type           = AVMEDIA_TYPE_SUBTITLE,
165 165
     .id             = AV_CODEC_ID_PJS,
166 166
     .decode         = text_decode_frame,
... ...
@@ -175,8 +175,8 @@ DECLARE_CLASS(subviewer1);
175 175
 
176 176
 AVCodec ff_subviewer1_decoder = {
177 177
     .name           = "subviewer1",
178
-    .priv_data_size = sizeof(TextContext),
179 178
     .long_name      = NULL_IF_CONFIG_SMALL("SubViewer1 subtitle"),
179
+    .priv_data_size = sizeof(TextContext),
180 180
     .type           = AVMEDIA_TYPE_SUBTITLE,
181 181
     .id             = AV_CODEC_ID_SUBVIEWER1,
182 182
     .decode         = text_decode_frame,
... ...
@@ -217,6 +217,7 @@ static av_cold int tta_encode_close(AVCodecContext *avctx)
217 217
 
218 218
 AVCodec ff_tta_encoder = {
219 219
     .name           = "tta",
220
+    .long_name      = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
220 221
     .type           = AVMEDIA_TYPE_AUDIO,
221 222
     .id             = AV_CODEC_ID_TTA,
222 223
     .priv_data_size = sizeof(TTAEncContext),
... ...
@@ -228,5 +229,4 @@ AVCodec ff_tta_encoder = {
228 228
                                                      AV_SAMPLE_FMT_S16,
229 229
                                                      AV_SAMPLE_FMT_S32,
230 230
                                                      AV_SAMPLE_FMT_NONE },
231
-    .long_name      = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
232 231
 };
... ...
@@ -74,10 +74,10 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
74 74
 
75 75
 AVCodec ff_v308_decoder = {
76 76
     .name         = "v308",
77
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
77 78
     .type         = AVMEDIA_TYPE_VIDEO,
78 79
     .id           = AV_CODEC_ID_V308,
79 80
     .init         = v308_decode_init,
80 81
     .decode       = v308_decode_frame,
81 82
     .capabilities = CODEC_CAP_DR1,
82
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
83 83
 };
... ...
@@ -84,11 +84,11 @@ static av_cold int v308_encode_close(AVCodecContext *avctx)
84 84
 
85 85
 AVCodec ff_v308_encoder = {
86 86
     .name         = "v308",
87
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
87 88
     .type         = AVMEDIA_TYPE_VIDEO,
88 89
     .id           = AV_CODEC_ID_V308,
89 90
     .init         = v308_encode_init,
90 91
     .encode2      = v308_encode_frame,
91 92
     .close        = v308_encode_close,
92 93
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE },
93
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
94 94
 };
... ...
@@ -82,22 +82,22 @@ static int v408_decode_frame(AVCodecContext *avctx, void *data,
82 82
 #if CONFIG_AYUV_DECODER
83 83
 AVCodec ff_ayuv_decoder = {
84 84
     .name         = "ayuv",
85
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
85 86
     .type         = AVMEDIA_TYPE_VIDEO,
86 87
     .id           = AV_CODEC_ID_AYUV,
87 88
     .init         = v408_decode_init,
88 89
     .decode       = v408_decode_frame,
89 90
     .capabilities = CODEC_CAP_DR1,
90
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
91 91
 };
92 92
 #endif
93 93
 #if CONFIG_V408_DECODER
94 94
 AVCodec ff_v408_decoder = {
95 95
     .name         = "v408",
96
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
96 97
     .type         = AVMEDIA_TYPE_VIDEO,
97 98
     .id           = AV_CODEC_ID_V408,
98 99
     .init         = v408_decode_init,
99 100
     .decode       = v408_decode_frame,
100 101
     .capabilities = CODEC_CAP_DR1,
101
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
102 102
 };
103 103
 #endif
... ...
@@ -90,24 +90,24 @@ static av_cold int v408_encode_close(AVCodecContext *avctx)
90 90
 #if CONFIG_AYUV_ENCODER
91 91
 AVCodec ff_ayuv_encoder = {
92 92
     .name         = "ayuv",
93
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
93 94
     .type         = AVMEDIA_TYPE_VIDEO,
94 95
     .id           = AV_CODEC_ID_AYUV,
95 96
     .init         = v408_encode_init,
96 97
     .encode2      = v408_encode_frame,
97 98
     .close        = v408_encode_close,
98 99
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE },
99
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed MS 4:4:4:4"),
100 100
 };
101 101
 #endif
102 102
 #if CONFIG_V408_ENCODER
103 103
 AVCodec ff_v408_encoder = {
104 104
     .name         = "v408",
105
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
105 106
     .type         = AVMEDIA_TYPE_VIDEO,
106 107
     .id           = AV_CODEC_ID_V408,
107 108
     .init         = v408_encode_init,
108 109
     .encode2      = v408_encode_frame,
109 110
     .close        = v408_encode_close,
110 111
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE },
111
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed QT 4:4:4:4"),
112 112
 };
113 113
 #endif
... ...
@@ -6278,6 +6278,7 @@ AVCodec ff_wmv3_decoder = {
6278 6278
 #if CONFIG_WMV3_VDPAU_DECODER
6279 6279
 AVCodec ff_wmv3_vdpau_decoder = {
6280 6280
     .name           = "wmv3_vdpau",
6281
+    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"),
6281 6282
     .type           = AVMEDIA_TYPE_VIDEO,
6282 6283
     .id             = AV_CODEC_ID_WMV3,
6283 6284
     .priv_data_size = sizeof(VC1Context),
... ...
@@ -6285,7 +6286,6 @@ AVCodec ff_wmv3_vdpau_decoder = {
6285 6285
     .close          = ff_vc1_decode_end,
6286 6286
     .decode         = vc1_decode_frame,
6287 6287
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
6288
-    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"),
6289 6288
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_WMV3, AV_PIX_FMT_NONE },
6290 6289
     .profiles       = NULL_IF_CONFIG_SMALL(profiles)
6291 6290
 };
... ...
@@ -6294,6 +6294,7 @@ AVCodec ff_wmv3_vdpau_decoder = {
6294 6294
 #if CONFIG_VC1_VDPAU_DECODER
6295 6295
 AVCodec ff_vc1_vdpau_decoder = {
6296 6296
     .name           = "vc1_vdpau",
6297
+    .long_name      = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"),
6297 6298
     .type           = AVMEDIA_TYPE_VIDEO,
6298 6299
     .id             = AV_CODEC_ID_VC1,
6299 6300
     .priv_data_size = sizeof(VC1Context),
... ...
@@ -6301,7 +6302,6 @@ AVCodec ff_vc1_vdpau_decoder = {
6301 6301
     .close          = ff_vc1_decode_end,
6302 6302
     .decode         = vc1_decode_frame,
6303 6303
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
6304
-    .long_name      = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"),
6305 6304
     .pix_fmts       = (const enum AVPixelFormat[]){ AV_PIX_FMT_VDPAU_VC1, AV_PIX_FMT_NONE },
6306 6305
     .profiles       = NULL_IF_CONFIG_SMALL(profiles)
6307 6306
 };
... ...
@@ -230,10 +230,10 @@ static int decode_frame(AVCodecContext *avctx, void *data,
230 230
 
231 231
 AVCodec ff_vima_decoder = {
232 232
     .name           = "vima",
233
+    .long_name      = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
233 234
     .type           = AVMEDIA_TYPE_AUDIO,
234 235
     .id             = AV_CODEC_ID_VIMA,
235 236
     .init           = decode_init,
236 237
     .decode         = decode_frame,
237 238
     .capabilities   = CODEC_CAP_DR1,
238
-    .long_name      = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
239 239
 };
... ...
@@ -2169,6 +2169,7 @@ AVCodec ff_vp8_decoder = {
2169 2169
 
2170 2170
 // AVCodec ff_webp_decoder = {
2171 2171
 //     .name                  = "webp",
2172
+//     .long_name             = NULL_IF_CONFIG_SMALL("WebP"),
2172 2173
 //     .type                  = AVMEDIA_TYPE_VIDEO,
2173 2174
 //     .id                    = AV_CODEC_ID_WEBP,
2174 2175
 //     .priv_data_size        = sizeof(VP8Context),
... ...
@@ -2177,7 +2178,6 @@ AVCodec ff_vp8_decoder = {
2177 2177
 //     .decode                = webp_decode_frame,
2178 2178
 //     .capabilities          = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS,
2179 2179
 //     .flush                 = vp8_decode_flush,
2180
-//     .long_name             = NULL_IF_CONFIG_SMALL("WebP"),
2181 2180
 //     .init_thread_copy      = ONLY_IF_THREADS_ENABLED(vp8_decode_init_thread_copy),
2182 2181
 //     .update_thread_context = ONLY_IF_THREADS_ENABLED(vp8_decode_update_thread_context),
2183 2182
 // };
... ...
@@ -3564,6 +3564,7 @@ static av_cold int vp9_decode_free(AVCodecContext *ctx)
3564 3564
 
3565 3565
 AVCodec ff_vp9_decoder = {
3566 3566
   .name                  = "vp9",
3567
+  .long_name             = NULL_IF_CONFIG_SMALL("Google VP9"),
3567 3568
   .type                  = AVMEDIA_TYPE_VIDEO,
3568 3569
   .id                    = AV_CODEC_ID_VP9,
3569 3570
   .priv_data_size        = sizeof(VP9Context),
... ...
@@ -3572,5 +3573,4 @@ AVCodec ff_vp9_decoder = {
3572 3572
   .decode                = vp9_decode_packet,
3573 3573
   .capabilities          = CODEC_CAP_DR1,
3574 3574
   .flush                 = vp9_decode_flush,
3575
-  .long_name             = NULL_IF_CONFIG_SMALL("Google VP9"),
3576 3575
 };
... ...
@@ -110,10 +110,10 @@ static int xbm_decode_frame(AVCodecContext *avctx, void *data,
110 110
 
111 111
 AVCodec ff_xbm_decoder = {
112 112
     .name         = "xbm",
113
+    .long_name    = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),
113 114
     .type         = AVMEDIA_TYPE_VIDEO,
114 115
     .id           = AV_CODEC_ID_XBM,
115 116
     .init         = xbm_decode_init,
116 117
     .decode       = xbm_decode_frame,
117 118
     .capabilities = CODEC_CAP_DR1,
118
-    .long_name    = NULL_IF_CONFIG_SMALL("XBM (X BitMap) image"),
119 119
 };
... ...
@@ -178,11 +178,11 @@ static int xface_decode_frame(AVCodecContext *avctx,
178 178
 
179 179
 AVCodec ff_xface_decoder = {
180 180
     .name           = "xface",
181
+    .long_name      = NULL_IF_CONFIG_SMALL("X-face image"),
181 182
     .type           = AVMEDIA_TYPE_VIDEO,
182 183
     .id             = AV_CODEC_ID_XFACE,
183 184
     .priv_data_size = sizeof(XFaceContext),
184 185
     .init           = xface_decode_init,
185 186
     .decode         = xface_decode_frame,
186 187
     .pix_fmts       = (const enum AVPixelFormat[]) { AV_PIX_FMT_MONOWHITE, AV_PIX_FMT_NONE },
187
-    .long_name      = NULL_IF_CONFIG_SMALL("X-face image"),
188 188
 };
... ...
@@ -227,6 +227,7 @@ static av_cold int xface_encode_close(AVCodecContext *avctx)
227 227
 
228 228
 AVCodec ff_xface_encoder = {
229 229
     .name           = "xface",
230
+    .long_name      = NULL_IF_CONFIG_SMALL("X-face image"),
230 231
     .type           = AVMEDIA_TYPE_VIDEO,
231 232
     .id             = AV_CODEC_ID_XFACE,
232 233
     .priv_data_size = sizeof(XFaceContext),
... ...
@@ -234,5 +235,4 @@ AVCodec ff_xface_encoder = {
234 234
     .close          = xface_encode_close,
235 235
     .encode2        = xface_encode_frame,
236 236
     .pix_fmts       = (const enum PixelFormat[]) { AV_PIX_FMT_MONOWHITE, AV_PIX_FMT_NONE },
237
-    .long_name      = NULL_IF_CONFIG_SMALL("X-face image"),
238 237
 };
... ...
@@ -83,10 +83,10 @@ static int y41p_decode_frame(AVCodecContext *avctx, void *data,
83 83
 
84 84
 AVCodec ff_y41p_decoder = {
85 85
     .name         = "y41p",
86
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
86 87
     .type         = AVMEDIA_TYPE_VIDEO,
87 88
     .id           = AV_CODEC_ID_Y41P,
88 89
     .init         = y41p_decode_init,
89 90
     .decode       = y41p_decode_frame,
90 91
     .capabilities = CODEC_CAP_DR1,
91
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
92 92
 };
... ...
@@ -91,6 +91,7 @@ static av_cold int y41p_encode_close(AVCodecContext *avctx)
91 91
 
92 92
 AVCodec ff_y41p_encoder = {
93 93
     .name         = "y41p",
94
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
94 95
     .type         = AVMEDIA_TYPE_VIDEO,
95 96
     .id           = AV_CODEC_ID_Y41P,
96 97
     .init         = y41p_encode_init,
... ...
@@ -98,5 +99,4 @@ AVCodec ff_y41p_encoder = {
98 98
     .close        = y41p_encode_close,
99 99
     .pix_fmts     = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P,
100 100
                                                  AV_PIX_FMT_NONE },
101
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed YUV 4:1:1 12-bit"),
102 101
 };
... ...
@@ -75,10 +75,10 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
75 75
 
76 76
 AVCodec ff_yuv4_decoder = {
77 77
     .name         = "yuv4",
78
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
78 79
     .type         = AVMEDIA_TYPE_VIDEO,
79 80
     .id           = AV_CODEC_ID_YUV4,
80 81
     .init         = yuv4_decode_init,
81 82
     .decode       = yuv4_decode_frame,
82 83
     .capabilities = CODEC_CAP_DR1,
83
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
84 84
 };
... ...
@@ -81,11 +81,11 @@ static av_cold int yuv4_encode_close(AVCodecContext *avctx)
81 81
 
82 82
 AVCodec ff_yuv4_encoder = {
83 83
     .name         = "yuv4",
84
+    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
84 85
     .type         = AVMEDIA_TYPE_VIDEO,
85 86
     .id           = AV_CODEC_ID_YUV4,
86 87
     .init         = yuv4_encode_init,
87 88
     .encode2      = yuv4_encode_frame,
88 89
     .close        = yuv4_encode_close,
89 90
     .pix_fmts     = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE },
90
-    .long_name    = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
91 91
 };