diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-10-03 22:57:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-10-03 23:32:01 +0200 |
commit | b2bed9325dbd6be0da1d91ffed3f513c40274fd2 (patch) | |
tree | c4794b7e2a2e20e18320ee577fd6261ccd5aed5a /libavcodec/libvpxenc.c | |
parent | 49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff) | |
download | ffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz |
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r-- | libavcodec/libvpxenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 0ecc2f913b..d5c4fe15ce 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -588,6 +588,7 @@ static const AVClass class_vp8 = { AVCodec ff_libvpx_vp8_encoder = { .name = "libvpx", + .long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_VP8, .priv_data_size = sizeof(VP8Context), @@ -596,7 +597,6 @@ AVCodec ff_libvpx_vp8_encoder = { .close = vp8_free, .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, - .long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"), .priv_class = &class_vp8, .defaults = defaults, }; @@ -617,6 +617,7 @@ static const AVClass class_vp9 = { AVCodec ff_libvpx_vp9_encoder = { .name = "libvpx-vp9", + .long_name = NULL_IF_CONFIG_SMALL("libvpx VP9"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_VP9, .priv_data_size = sizeof(VP8Context), @@ -625,7 +626,6 @@ AVCodec ff_libvpx_vp9_encoder = { .close = vp8_free, .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS | CODEC_CAP_EXPERIMENTAL, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, - .long_name = NULL_IF_CONFIG_SMALL("libvpx VP9"), .priv_class = &class_vp9, .defaults = defaults, }; |