mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec: Constify AVCodecs
Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
8b3e6ce5f4
commit
a247ac640d
@ -144,7 +144,7 @@ static int zero12v_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_zero12v_decoder = {
|
||||
const AVCodec ff_zero12v_decoder = {
|
||||
.name = "012v",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1025,7 +1025,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_fourxm_decoder = {
|
||||
const AVCodec ff_fourxm_decoder = {
|
||||
.name = "4xm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -173,7 +173,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_eightbps_decoder = {
|
||||
const AVCodec ff_eightbps_decoder = {
|
||||
.name = "8bps",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -184,7 +184,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
#if CONFIG_EIGHTSVX_FIB_DECODER
|
||||
AVCodec ff_eightsvx_fib_decoder = {
|
||||
const AVCodec ff_eightsvx_fib_decoder = {
|
||||
.name = "8svx_fib",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -199,7 +199,7 @@ AVCodec ff_eightsvx_fib_decoder = {
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_EIGHTSVX_EXP_DECODER
|
||||
AVCodec ff_eightsvx_exp_decoder = {
|
||||
const AVCodec ff_eightsvx_exp_decoder = {
|
||||
.name = "8svx_exp",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -399,7 +399,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
}
|
||||
|
||||
#if CONFIG_A64MULTI_ENCODER
|
||||
AVCodec ff_a64multi_encoder = {
|
||||
const AVCodec ff_a64multi_encoder = {
|
||||
.name = "a64multi",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -414,7 +414,7 @@ AVCodec ff_a64multi_encoder = {
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_A64MULTI5_ENCODER
|
||||
AVCodec ff_a64multi5_encoder = {
|
||||
const AVCodec ff_a64multi5_encoder = {
|
||||
.name = "a64multi5",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -553,7 +553,7 @@ static av_cold int latm_decode_init(AVCodecContext *avctx)
|
||||
return ret;
|
||||
}
|
||||
|
||||
AVCodec ff_aac_decoder = {
|
||||
const AVCodec ff_aac_decoder = {
|
||||
.name = "aac",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -578,7 +578,7 @@ AVCodec ff_aac_decoder = {
|
||||
in MPEG transport streams which only contain one program.
|
||||
To do a more complex LATM demuxing a separate LATM demuxer should be used.
|
||||
*/
|
||||
AVCodec ff_aac_latm_decoder = {
|
||||
const AVCodec ff_aac_latm_decoder = {
|
||||
.name = "aac_latm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -451,7 +451,7 @@ static void apply_independent_coupling_fixed(AACContext *ac,
|
||||
|
||||
#include "aacdec_template.c"
|
||||
|
||||
AVCodec ff_aac_fixed_decoder = {
|
||||
const AVCodec ff_aac_fixed_decoder = {
|
||||
.name = "aac_fixed",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1130,7 +1130,7 @@ static const AVCodecDefault aac_encode_defaults[] = {
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
AVCodec ff_aac_encoder = {
|
||||
const AVCodec ff_aac_encoder = {
|
||||
.name = "aac",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -149,7 +149,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_aasc_decoder = {
|
||||
const AVCodec ff_aasc_decoder = {
|
||||
.name = "aasc",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -168,7 +168,7 @@ static const AVClass ac3_decoder_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_ac3_fixed_decoder = {
|
||||
const AVCodec ff_ac3_fixed_decoder = {
|
||||
.name = "ac3_fixed",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = AV_CODEC_ID_AC3,
|
||||
|
@ -53,7 +53,7 @@ static const AVClass ac3_decoder_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_ac3_decoder = {
|
||||
const AVCodec ff_ac3_decoder = {
|
||||
.name = "ac3",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = AV_CODEC_ID_AC3,
|
||||
@ -78,7 +78,7 @@ static const AVClass eac3_decoder_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_eac3_decoder = {
|
||||
const AVCodec ff_eac3_decoder = {
|
||||
.name = "eac3",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = AV_CODEC_ID_EAC3,
|
||||
|
@ -127,7 +127,7 @@ static av_cold int ac3_fixed_encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
|
||||
AVCodec ff_ac3_fixed_encoder = {
|
||||
const AVCodec ff_ac3_fixed_encoder = {
|
||||
.name = "ac3_fixed",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -131,7 +131,7 @@ av_cold int ff_ac3_float_encode_init(AVCodecContext *avctx)
|
||||
return ff_ac3_encode_init(avctx);
|
||||
}
|
||||
|
||||
AVCodec ff_ac3_encoder = {
|
||||
const AVCodec ff_ac3_encoder = {
|
||||
.name = "ac3",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -2139,7 +2139,7 @@ static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16,
|
||||
AV_SAMPLE_FMT_NONE };
|
||||
|
||||
#define ADPCM_DECODER(id_, sample_fmts_, name_, long_name_) \
|
||||
AVCodec ff_ ## name_ ## _decoder = { \
|
||||
const AVCodec ff_ ## name_ ## _decoder = { \
|
||||
.name = #name_, \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -995,7 +995,7 @@ static const AVClass name_ ## _encoder_class = { \
|
||||
.version = LIBAVUTIL_VERSION_INT, \
|
||||
}; \
|
||||
\
|
||||
AVCodec ff_ ## name_ ## _encoder = { \
|
||||
const AVCodec ff_ ## name_ ## _encoder = { \
|
||||
.name = #name_, \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -190,7 +190,7 @@ static void adx_decode_flush(AVCodecContext *avctx)
|
||||
c->eof = 0;
|
||||
}
|
||||
|
||||
AVCodec ff_adpcm_adx_decoder = {
|
||||
const AVCodec ff_adpcm_adx_decoder = {
|
||||
.name = "adpcm_adx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -187,7 +187,7 @@ static int adx_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_adpcm_adx_encoder = {
|
||||
const AVCodec ff_adpcm_adx_encoder = {
|
||||
.name = "adpcm_adx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1285,7 +1285,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_agm_decoder = {
|
||||
const AVCodec ff_agm_decoder = {
|
||||
.name = "agm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Amuse Graphics Movie"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -496,7 +496,7 @@ static av_cold int aic_decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_aic_decoder = {
|
||||
const AVCodec ff_aic_decoder = {
|
||||
.name = "aic",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -616,7 +616,7 @@ static const AVClass alac_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_alac_decoder = {
|
||||
const AVCodec ff_alac_decoder = {
|
||||
.name = "alac",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -631,7 +631,7 @@ static const AVClass alacenc_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_alac_encoder = {
|
||||
const AVCodec ff_alac_encoder = {
|
||||
.name = "alac",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -121,7 +121,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_alias_pix_decoder = {
|
||||
const AVCodec ff_alias_pix_decoder = {
|
||||
.name = "alias_pix",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -103,7 +103,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_alias_pix_encoder = {
|
||||
const AVCodec ff_alias_pix_encoder = {
|
||||
.name = "alias_pix",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2173,7 +2173,7 @@ static av_cold void flush(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
|
||||
AVCodec ff_als_decoder = {
|
||||
const AVCodec ff_als_decoder = {
|
||||
.name = "als",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -377,7 +377,7 @@ static const AVClass h264_amf_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_h264_amf_encoder = {
|
||||
const AVCodec ff_h264_amf_encoder = {
|
||||
.name = "h264_amf",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AMD AMF H.264 Encoder"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -309,7 +309,7 @@ static const AVClass hevc_amf_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_hevc_amf_encoder = {
|
||||
const AVCodec ff_hevc_amf_encoder = {
|
||||
.name = "hevc_amf",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AMD AMF HEVC encoder"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1080,7 +1080,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
|
||||
|
||||
AVCodec ff_amrnb_decoder = {
|
||||
const AVCodec ff_amrnb_decoder = {
|
||||
.name = "amrnb",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1275,7 +1275,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return expected_fr_size;
|
||||
}
|
||||
|
||||
AVCodec ff_amrwb_decoder = {
|
||||
const AVCodec ff_amrwb_decoder = {
|
||||
.name = "amrwb",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -189,7 +189,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_anm_decoder = {
|
||||
const AVCodec ff_anm_decoder = {
|
||||
.name = "anm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -480,7 +480,7 @@ static const AVCodecDefault ansi_defaults[] = {
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
AVCodec ff_ansi_decoder = {
|
||||
const AVCodec ff_ansi_decoder = {
|
||||
.name = "ansi",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1655,7 +1655,7 @@ static const AVClass ape_decoder_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_ape_decoder = {
|
||||
const AVCodec ff_ape_decoder = {
|
||||
.name = "ape",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -170,7 +170,7 @@ static int aptx_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
|
||||
#if CONFIG_APTX_DECODER
|
||||
AVCodec ff_aptx_decoder = {
|
||||
const AVCodec ff_aptx_decoder = {
|
||||
.name = "aptx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -187,7 +187,7 @@ AVCodec ff_aptx_decoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_APTX_HD_DECODER
|
||||
AVCodec ff_aptx_hd_decoder = {
|
||||
const AVCodec ff_aptx_hd_decoder = {
|
||||
.name = "aptx_hd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -240,7 +240,7 @@ static av_cold int aptx_close(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
#if CONFIG_APTX_ENCODER
|
||||
AVCodec ff_aptx_encoder = {
|
||||
const AVCodec ff_aptx_encoder = {
|
||||
.name = "aptx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -259,7 +259,7 @@ AVCodec ff_aptx_encoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_APTX_HD_ENCODER
|
||||
AVCodec ff_aptx_hd_encoder = {
|
||||
const AVCodec ff_aptx_hd_encoder = {
|
||||
.name = "aptx_hd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -212,7 +212,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_arbc_decoder = {
|
||||
const AVCodec ff_arbc_decoder = {
|
||||
.name = "arbc",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Gryphon's Anim Compressor"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -725,7 +725,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_argo_decoder = {
|
||||
const AVCodec ff_argo_decoder = {
|
||||
.name = "argo",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -62,7 +62,7 @@ static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr,
|
||||
}
|
||||
|
||||
#if CONFIG_SSA_DECODER
|
||||
AVCodec ff_ssa_decoder = {
|
||||
const AVCodec ff_ssa_decoder = {
|
||||
.name = "ssa",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
||||
.type = AVMEDIA_TYPE_SUBTITLE,
|
||||
@ -73,7 +73,7 @@ AVCodec ff_ssa_decoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_ASS_DECODER
|
||||
AVCodec ff_ass_decoder = {
|
||||
const AVCodec ff_ass_decoder = {
|
||||
.name = "ass",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
||||
.type = AVMEDIA_TYPE_SUBTITLE,
|
||||
|
@ -66,7 +66,7 @@ static int ass_encode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
#if CONFIG_SSA_ENCODER
|
||||
AVCodec ff_ssa_encoder = {
|
||||
const AVCodec ff_ssa_encoder = {
|
||||
.name = "ssa",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
||||
.type = AVMEDIA_TYPE_SUBTITLE,
|
||||
@ -77,7 +77,7 @@ AVCodec ff_ssa_encoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_ASS_ENCODER
|
||||
AVCodec ff_ass_encoder = {
|
||||
const AVCodec ff_ass_encoder = {
|
||||
.name = "ass",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
||||
.type = AVMEDIA_TYPE_SUBTITLE,
|
||||
|
@ -327,7 +327,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
#if CONFIG_ASV1_DECODER
|
||||
AVCodec ff_asv1_decoder = {
|
||||
const AVCodec ff_asv1_decoder = {
|
||||
.name = "asv1",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -342,7 +342,7 @@ AVCodec ff_asv1_decoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_ASV2_DECODER
|
||||
AVCodec ff_asv2_decoder = {
|
||||
const AVCodec ff_asv2_decoder = {
|
||||
.name = "asv2",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -341,7 +341,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
#if CONFIG_ASV1_ENCODER
|
||||
AVCodec ff_asv1_encoder = {
|
||||
const AVCodec ff_asv1_encoder = {
|
||||
.name = "asv1",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -356,7 +356,7 @@ AVCodec ff_asv1_encoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_ASV2_ENCODER
|
||||
AVCodec ff_asv2_encoder = {
|
||||
const AVCodec ff_asv2_encoder = {
|
||||
.name = "asv2",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -382,7 +382,7 @@ static av_cold int atrac1_decode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
|
||||
AVCodec ff_atrac1_decoder = {
|
||||
const AVCodec ff_atrac1_decoder = {
|
||||
.name = "atrac1",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1013,7 +1013,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_atrac3_decoder = {
|
||||
const AVCodec ff_atrac3_decoder = {
|
||||
.name = "atrac3",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -1028,7 +1028,7 @@ AVCodec ff_atrac3_decoder = {
|
||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||
};
|
||||
|
||||
AVCodec ff_atrac3al_decoder = {
|
||||
const AVCodec ff_atrac3al_decoder = {
|
||||
.name = "atrac3al",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -393,7 +393,7 @@ static int atrac3p_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return avctx->codec_id == AV_CODEC_ID_ATRAC3P ? FFMIN(avctx->block_align, avpkt->size) : avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_atrac3p_decoder = {
|
||||
const AVCodec ff_atrac3p_decoder = {
|
||||
.name = "atrac3plus",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -406,7 +406,7 @@ AVCodec ff_atrac3p_decoder = {
|
||||
.decode = atrac3p_decode_frame,
|
||||
};
|
||||
|
||||
AVCodec ff_atrac3pal_decoder = {
|
||||
const AVCodec ff_atrac3pal_decoder = {
|
||||
.name = "atrac3plusal",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -986,7 +986,7 @@ static av_cold int atrac9_decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_atrac9_decoder = {
|
||||
const AVCodec ff_atrac9_decoder = {
|
||||
.name = "atrac9",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -579,7 +579,7 @@ static av_cold int ffat_close_decoder(AVCodecContext *avctx)
|
||||
|
||||
#define FFAT_DEC(NAME, ID, bsf_name) \
|
||||
FFAT_DEC_CLASS(NAME) \
|
||||
AVCodec ff_##NAME##_at_decoder = { \
|
||||
const AVCodec ff_##NAME##_at_decoder = { \
|
||||
.name = #NAME "_at", \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -616,7 +616,7 @@ static const AVOption options[] = {
|
||||
|
||||
#define FFAT_ENC(NAME, ID, PROFILES, ...) \
|
||||
FFAT_ENC_CLASS(NAME) \
|
||||
AVCodec ff_##NAME##_at_encoder = { \
|
||||
const AVCodec ff_##NAME##_at_encoder = { \
|
||||
.name = #NAME "_at", \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -97,7 +97,7 @@ static int aura_decode_frame(AVCodecContext *avctx,
|
||||
return pkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_aura2_decoder = {
|
||||
const AVCodec ff_aura2_decoder = {
|
||||
.name = "aura2",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1121,7 +1121,7 @@ static const AVClass av1_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_av1_decoder = {
|
||||
const AVCodec ff_av1_decoder = {
|
||||
.name = "av1",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -89,7 +89,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_avrn_decoder = {
|
||||
const AVCodec ff_avrn_decoder = {
|
||||
.name = "avrn",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -176,7 +176,7 @@ static av_cold int avs_decode_end(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
|
||||
AVCodec ff_avs_decoder = {
|
||||
const AVCodec ff_avs_decoder = {
|
||||
.name = "avs",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -119,7 +119,7 @@ static int avui_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_avui_decoder = {
|
||||
const AVCodec ff_avui_decoder = {
|
||||
.name = "avui",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -91,7 +91,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_avui_encoder = {
|
||||
const AVCodec ff_avui_encoder = {
|
||||
.name = "avui",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -158,7 +158,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_bethsoftvid_decoder = {
|
||||
const AVCodec ff_bethsoftvid_decoder = {
|
||||
.name = "bethsoftvid",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -175,7 +175,7 @@ static av_cold int bfi_decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_bfi_decoder = {
|
||||
const AVCodec ff_bfi_decoder = {
|
||||
.name = "bfi",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1415,7 +1415,7 @@ static void flush(AVCodecContext *avctx)
|
||||
c->frame_num = 0;
|
||||
}
|
||||
|
||||
AVCodec ff_bink_decoder = {
|
||||
const AVCodec ff_bink_decoder = {
|
||||
.name = "binkvideo",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Bink video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -337,7 +337,7 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
AVCodec ff_binkaudio_rdft_decoder = {
|
||||
const AVCodec ff_binkaudio_rdft_decoder = {
|
||||
.name = "binkaudio_rdft",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
@ -350,7 +350,7 @@ AVCodec ff_binkaudio_rdft_decoder = {
|
||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||
};
|
||||
|
||||
AVCodec ff_binkaudio_dct_decoder = {
|
||||
const AVCodec ff_binkaudio_dct_decoder = {
|
||||
.name = "binkaudio_dct",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -215,7 +215,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
#if CONFIG_BINTEXT_DECODER
|
||||
AVCodec ff_bintext_decoder = {
|
||||
const AVCodec ff_bintext_decoder = {
|
||||
.name = "bintext",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Binary text"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -227,7 +227,7 @@ AVCodec ff_bintext_decoder = {
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_XBIN_DECODER
|
||||
AVCodec ff_xbin_decoder = {
|
||||
const AVCodec ff_xbin_decoder = {
|
||||
.name = "xbin",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -239,7 +239,7 @@ AVCodec ff_xbin_decoder = {
|
||||
};
|
||||
#endif
|
||||
#if CONFIG_IDF_DECODER
|
||||
AVCodec ff_idf_decoder = {
|
||||
const AVCodec ff_idf_decoder = {
|
||||
.name = "idf",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -137,7 +137,7 @@ static int bitpacked_decode(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
|
||||
}
|
||||
|
||||
AVCodec ff_bitpacked_decoder = {
|
||||
const AVCodec ff_bitpacked_decoder = {
|
||||
.name = "bitpacked",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -365,7 +365,7 @@ static int bmp_decode_frame(AVCodecContext *avctx,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_bmp_decoder = {
|
||||
const AVCodec ff_bmp_decoder = {
|
||||
.name = "bmp",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -157,7 +157,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_bmp_encoder = {
|
||||
const AVCodec ff_bmp_encoder = {
|
||||
.name = "bmp",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -78,7 +78,7 @@ static int bmv_aud_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_bmv_audio_decoder = {
|
||||
const AVCodec ff_bmv_audio_decoder = {
|
||||
.name = "bmv_audio",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -285,7 +285,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_bmv_video_decoder = {
|
||||
const AVCodec ff_bmv_video_decoder = {
|
||||
.name = "bmv_video",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -285,7 +285,7 @@ static int pix_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_brender_pix_decoder = {
|
||||
const AVCodec ff_brender_pix_decoder = {
|
||||
.name = "brender_pix",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -257,7 +257,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_c93_decoder = {
|
||||
const AVCodec ff_c93_decoder = {
|
||||
.name = "c93",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1307,7 +1307,7 @@ static int cavs_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
}
|
||||
}
|
||||
|
||||
AVCodec ff_cavs_decoder = {
|
||||
const AVCodec ff_cavs_decoder = {
|
||||
.name = "cavs",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -940,7 +940,7 @@ static const AVClass ccaption_dec_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_ccaption_decoder = {
|
||||
const AVCodec ff_ccaption_decoder = {
|
||||
.name = "cc_dec",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Closed Caption (EIA-608 / CEA-708)"),
|
||||
.type = AVMEDIA_TYPE_SUBTITLE,
|
||||
|
@ -386,7 +386,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cdgraphics_decoder = {
|
||||
const AVCodec ff_cdgraphics_decoder = {
|
||||
.name = "cdgraphics",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -442,7 +442,7 @@ static av_cold int cdtoons_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cdtoons_decoder = {
|
||||
const AVCodec ff_cdtoons_decoder = {
|
||||
.name = "cdtoons",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -336,7 +336,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cdxl_decoder = {
|
||||
const AVCodec ff_cdxl_decoder = {
|
||||
.name = "cdxl",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1458,7 +1458,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
|
||||
}
|
||||
#endif
|
||||
|
||||
AVCodec ff_cfhd_decoder = {
|
||||
const AVCodec ff_cfhd_decoder = {
|
||||
.name = "cfhd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -845,7 +845,7 @@ static const AVClass cfhd_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_cfhd_encoder = {
|
||||
const AVCodec ff_cfhd_encoder = {
|
||||
.name = "cfhd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -506,7 +506,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cinepak_decoder = {
|
||||
const AVCodec ff_cinepak_decoder = {
|
||||
.name = "cinepak",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1178,7 +1178,7 @@ static av_cold int cinepak_encode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cinepak_encoder = {
|
||||
const AVCodec ff_cinepak_encoder = {
|
||||
.name = "cinepak",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -766,7 +766,7 @@ static av_cold int clv_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_clearvideo_decoder = {
|
||||
const AVCodec ff_clearvideo_decoder = {
|
||||
.name = "clearvideo",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -82,7 +82,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cljr_decoder = {
|
||||
const AVCodec ff_cljr_decoder = {
|
||||
.name = "cljr",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -109,7 +109,7 @@ static const AVClass cljr_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
AVCodec ff_cljr_encoder = {
|
||||
const AVCodec ff_cljr_encoder = {
|
||||
.name = "cljr",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -493,7 +493,7 @@ static av_cold int cllc_decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cllc_decoder = {
|
||||
const AVCodec ff_cllc_decoder = {
|
||||
.name = "cllc",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -161,7 +161,7 @@ static int cng_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_comfortnoise_decoder = {
|
||||
const AVCodec ff_comfortnoise_decoder = {
|
||||
.name = "comfortnoise",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -100,7 +100,7 @@ static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_comfortnoise_encoder = {
|
||||
const AVCodec ff_comfortnoise_encoder = {
|
||||
.name = "comfortnoise",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1292,7 +1292,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cook_decoder = {
|
||||
const AVCodec ff_cook_decoder = {
|
||||
.name = "cook",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -220,7 +220,7 @@ static av_cold int cpia_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cpia_decoder = {
|
||||
const AVCodec ff_cpia_decoder = {
|
||||
.name = "cpia",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -424,7 +424,7 @@ static av_cold int cri_decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cri_decoder = {
|
||||
const AVCodec ff_cri_decoder = {
|
||||
.name = "cri",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_CRI,
|
||||
|
@ -767,7 +767,7 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame)
|
||||
.option = options, \
|
||||
.version = LIBAVUTIL_VERSION_INT, \
|
||||
}; \
|
||||
AVCodec ff_##x##_crystalhd_decoder = { \
|
||||
const AVCodec ff_##x##_crystalhd_decoder = { \
|
||||
.name = #x "_crystalhd", \
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CrystalHD " #X " decoder"), \
|
||||
.type = AVMEDIA_TYPE_VIDEO, \
|
||||
|
@ -166,7 +166,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_cscd_decoder = {
|
||||
const AVCodec ff_cscd_decoder = {
|
||||
.name = "camstudio",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1131,7 +1131,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
|
||||
.option = options, \
|
||||
.version = LIBAVUTIL_VERSION_INT, \
|
||||
}; \
|
||||
AVCodec ff_##x##_cuvid_decoder = { \
|
||||
const AVCodec ff_##x##_cuvid_decoder = { \
|
||||
.name = #x "_cuvid", \
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Nvidia CUVID " #X " decoder"), \
|
||||
.type = AVMEDIA_TYPE_VIDEO, \
|
||||
|
@ -176,7 +176,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
#if CONFIG_AURA_DECODER
|
||||
AVCodec ff_aura_decoder = {
|
||||
const AVCodec ff_aura_decoder = {
|
||||
.name = "aura",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
@ -190,7 +190,7 @@ AVCodec ff_aura_decoder = {
|
||||
#endif
|
||||
|
||||
#if CONFIG_CYUV_DECODER
|
||||
AVCodec ff_cyuv_decoder = {
|
||||
const AVCodec ff_cyuv_decoder = {
|
||||
.name = "cyuv",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -381,7 +381,7 @@ static const AVClass dcadec_class = {
|
||||
.category = AV_CLASS_CATEGORY_DECODER,
|
||||
};
|
||||
|
||||
AVCodec ff_dca_decoder = {
|
||||
const AVCodec ff_dca_decoder = {
|
||||
.name = "dca",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -1238,7 +1238,7 @@ static const AVCodecDefault defaults[] = {
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
AVCodec ff_dca_encoder = {
|
||||
const AVCodec ff_dca_encoder = {
|
||||
.name = "dca",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -748,7 +748,7 @@ static int dds_decode(AVCodecContext *avctx, void *data,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_dds_decoder = {
|
||||
const AVCodec ff_dds_decoder = {
|
||||
.name = "dds",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DirectDraw Surface image decoder"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -414,7 +414,7 @@ static av_cold int dfa_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_dfa_decoder = {
|
||||
const AVCodec ff_dfa_decoder = {
|
||||
.name = "dfa",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -2355,7 +2355,7 @@ static int dirac_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
return buf_idx;
|
||||
}
|
||||
|
||||
AVCodec ff_dirac_decoder = {
|
||||
const AVCodec ff_dirac_decoder = {
|
||||
.name = "dirac",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("BBC Dirac VC-2"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -717,7 +717,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_dnxhd_decoder = {
|
||||
const AVCodec ff_dnxhd_decoder = {
|
||||
.name = "dnxhd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1349,7 +1349,7 @@ static const AVCodecDefault dnxhd_defaults[] = {
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
AVCodec ff_dnxhd_encoder = {
|
||||
const AVCodec ff_dnxhd_encoder = {
|
||||
.name = "dnxhd",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -1256,7 +1256,7 @@ static av_cold int dolby_e_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_dolby_e_decoder = {
|
||||
const AVCodec ff_dolby_e_decoder = {
|
||||
.name = "dolby_e",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Dolby E"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -410,7 +410,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
|
||||
#define DPCM_DECODER(id_, name_, long_name_) \
|
||||
AVCodec ff_ ## name_ ## _decoder = { \
|
||||
const AVCodec ff_ ## name_ ## _decoder = { \
|
||||
.name = #name_, \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -762,7 +762,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
AVCodec ff_dpx_decoder = {
|
||||
const AVCodec ff_dpx_decoder = {
|
||||
.name = "dpx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -276,7 +276,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_dpx_encoder = {
|
||||
const AVCodec ff_dpx_encoder = {
|
||||
.name = "dpx",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
@ -115,7 +115,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
|
||||
#define DSD_DECODER(id_, name_, long_name_) \
|
||||
AVCodec ff_##name_##_decoder = { \
|
||||
const AVCodec ff_ ## name_ ## _decoder = { \
|
||||
.name = #name_, \
|
||||
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
||||
.type = AVMEDIA_TYPE_AUDIO, \
|
||||
|
@ -121,7 +121,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx, void *data,
|
||||
return avpkt->size;
|
||||
}
|
||||
|
||||
AVCodec ff_dsicinaudio_decoder = {
|
||||
const AVCodec ff_dsicinaudio_decoder = {
|
||||
.name = "dsicinaudio",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
|
@ -321,7 +321,7 @@ static av_cold int cinvideo_decode_end(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec ff_dsicinvideo_decoder = {
|
||||
const AVCodec ff_dsicinvideo_decoder = {
|
||||
.name = "dsicinvideo",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user