aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.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/libx264.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/libx264.c')
-rw-r--r--libavcodec/libx264.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index fdde630991..35c003050f 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -546,16 +546,16 @@ static const AVCodecDefault x264_defaults[] = {
};
AVCodec ff_libx264_encoder = {
- .name = "libx264",
- .type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_H264,
- .priv_data_size = sizeof(X264Context),
- .init = X264_init,
- .encode2 = X264_frame,
- .close = X264_close,
- .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
- .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
- .priv_class = &class,
- .defaults = x264_defaults,
+ .name = "libx264",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_H264,
+ .priv_data_size = sizeof(X264Context),
+ .init = X264_init,
+ .encode2 = X264_frame,
+ .close = X264_close,
+ .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
+ .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"),
+ .priv_class = &class,
+ .defaults = x264_defaults,
.init_static_data = X264_init_static,
};