You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
lavc: use designated initialisers for all codecs.
It's more readable and less prone to breakage.
This commit is contained in:
@@ -125,15 +125,14 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
|
||||
}
|
||||
|
||||
AVCodec ff_h263i_decoder = {
|
||||
"h263i",
|
||||
AVMEDIA_TYPE_VIDEO,
|
||||
CODEC_ID_H263I,
|
||||
sizeof(MpegEncContext),
|
||||
ff_h263_decode_init,
|
||||
NULL,
|
||||
ff_h263_decode_end,
|
||||
ff_h263_decode_frame,
|
||||
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.name = "h263i",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = CODEC_ID_H263I,
|
||||
.priv_data_size = sizeof(MpegEncContext),
|
||||
.init = ff_h263_decode_init,
|
||||
.close = ff_h263_decode_end,
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
|
||||
.pix_fmts= ff_pixfmt_list_420,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user