aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv30.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-04-06 19:19:39 +0300
committerMartin Storsjö <martin@martin.st>2012-04-06 22:37:38 +0300
commit00c3b67b8ac6bfdc5a01535173dc537824a53d6e (patch)
tree5e792eb0a8fa6cc4f1b1c039b12e733309dfc7d4 /libavcodec/rv30.c
parent6d27d8b1dddc779d5800ace3f96697c91eca51dd (diff)
downloadffmpeg-00c3b67b8ac6bfdc5a01535173dc537824a53d6e.tar.gz
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>
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r--libavcodec/rv30.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index 1bb223cd7b..8a4cdf8aba 100644
--- a/libavcodec/rv30.c
+++ b/libavcodec/rv30.c
@@ -268,17 +268,18 @@ static av_cold int rv30_decode_init(AVCodecContext *avctx)
}
AVCodec ff_rv30_decoder = {
- .name = "rv30",
- .type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_RV30,
- .priv_data_size = sizeof(RV34DecContext),
- .init = rv30_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 3.0"),
- .pix_fmts = ff_pixfmt_list_420,
+ .name = "rv30",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_RV30,
+ .priv_data_size = sizeof(RV34DecContext),
+ .init = rv30_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 3.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),
};