aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/asv1.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/asv1.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/asv1.c')
-rw-r--r--libavcodec/asv1.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c
index 8dfe276f93..6c8bed3043 100644
--- a/libavcodec/asv1.c
+++ b/libavcodec/asv1.c
@@ -626,7 +626,7 @@ AVCodec ff_asv1_decoder = {
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"),
+ .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
};
AVCodec ff_asv2_decoder = {
@@ -638,7 +638,7 @@ AVCodec ff_asv2_decoder = {
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"),
+ .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
};
#if CONFIG_ASV1_ENCODER
@@ -649,9 +649,8 @@ AVCodec ff_asv1_encoder = {
.priv_data_size = sizeof(ASV1Context),
.init = encode_init,
.encode2 = encode_frame,
- //encode_end,
- .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
- .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"),
+ .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
+ .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
};
#endif
@@ -663,8 +662,7 @@ AVCodec ff_asv2_encoder = {
.priv_data_size = sizeof(ASV1Context),
.init = encode_init,
.encode2 = encode_frame,
- //encode_end,
- .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
- .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"),
+ .pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
+ .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
};
#endif