cosmetics: Align codec declarations
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -557,17 +557,18 @@ static av_cold int rv40_decode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
AVCodec ff_rv40_decoder = {
|
||||
.name = "rv40",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = CODEC_ID_RV40,
|
||||
.priv_data_size = sizeof(RV34DecContext),
|
||||
.init = rv40_decode_init,
|
||||
.close = ff_rv34_decode_end,
|
||||
.decode = ff_rv34_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS,
|
||||
.flush = ff_mpeg_flush,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.name = "rv40",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = CODEC_ID_RV40,
|
||||
.priv_data_size = sizeof(RV34DecContext),
|
||||
.init = rv40_decode_init,
|
||||
.close = ff_rv34_decode_end,
|
||||
.decode = ff_rv34_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
|
||||
CODEC_CAP_FRAME_THREADS,
|
||||
.flush = ff_mpeg_flush,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_init_thread_copy),
|
||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_update_thread_context),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user