mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
lavc: use designated initialisers for all codecs.
It's more readable and less prone to breakage.
This commit is contained in:
@ -808,15 +808,14 @@ static av_cold int svq1_decode_end(AVCodecContext *avctx)
|
||||
|
||||
|
||||
AVCodec ff_svq1_decoder = {
|
||||
"svq1",
|
||||
AVMEDIA_TYPE_VIDEO,
|
||||
CODEC_ID_SVQ1,
|
||||
sizeof(MpegEncContext),
|
||||
svq1_decode_init,
|
||||
NULL,
|
||||
svq1_decode_end,
|
||||
svq1_decode_frame,
|
||||
CODEC_CAP_DR1,
|
||||
.name = "svq1",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = CODEC_ID_SVQ1,
|
||||
.priv_data_size = sizeof(MpegEncContext),
|
||||
.init = svq1_decode_init,
|
||||
.close = svq1_decode_end,
|
||||
.decode = svq1_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.flush= ff_mpeg_flush,
|
||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV410P, PIX_FMT_NONE},
|
||||
.long_name= NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
|
||||
|
Reference in New Issue
Block a user