diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-06-10 16:45:06 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-06-12 11:01:10 +0200 |
commit | 97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (patch) | |
tree | e68f3a7dd9aa9b56cf6920890fe2f4caec6b98cd /libavcodec/libvorbis.c | |
parent | 98ea98069b40c34aa7b762096f8f380012a7dd84 (diff) | |
download | ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.zip ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.tar.gz |
Convert all AVClass struct declarations to designated initializers.
Diffstat (limited to 'libavcodec/libvorbis.c')
-rw-r--r-- | libavcodec/libvorbis.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index 86c1ed6..3dfd589 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -72,7 +72,12 @@ static const AVCodecDefault defaults[] = { { NULL }, }; -static const AVClass class = { "libvorbis", av_default_item_name, options, LIBAVUTIL_VERSION_INT }; +static const AVClass class = { + .class_name = "libvorbis", + .item_name = av_default_item_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, +}; static int vorbis_error_to_averror(int ov_err) |