Commit 011f3892 authored by Paul B Mahol's avatar Paul B Mahol

h264: use designated initializers for AVClass

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 59e31aa2
...@@ -4204,17 +4204,17 @@ static const AVOption h264_options[] = { ...@@ -4204,17 +4204,17 @@ static const AVOption h264_options[] = {
}; };
static const AVClass h264_class = { static const AVClass h264_class = {
"H264 Decoder", .class_name = "H264 Decoder",
av_default_item_name, .item_name = av_default_item_name,
h264_options, .option = h264_options,
LIBAVUTIL_VERSION_INT, .version = LIBAVUTIL_VERSION_INT,
}; };
static const AVClass h264_vdpau_class = { static const AVClass h264_vdpau_class = {
"H264 VDPAU Decoder", .class_name = "H264 VDPAU Decoder",
av_default_item_name, .item_name = av_default_item_name,
h264_options, .option = h264_options,
LIBAVUTIL_VERSION_INT, .version = LIBAVUTIL_VERSION_INT,
}; };
AVCodec ff_h264_decoder = { AVCodec ff_h264_decoder = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment