avcodec/flacenc: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2015-12-20 17:47:21 +01:00
parent db6e337b41
commit 367ffa0c15

View File

@ -1468,10 +1468,10 @@ static const AVOption options[] = {
};
static const AVClass flac_encoder_class = {
"FLAC encoder",
av_default_item_name,
options,
LIBAVUTIL_VERSION_INT,
.class_name = "FLAC encoder",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
AVCodec ff_flac_encoder = {