aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-10-15 13:43:33 +0000
committerPaul B Mahol <onemda@gmail.com>2012-10-15 13:43:33 +0000
commit011f3892ff3533c0b1157fdc614362ab31b2fe8f (patch)
treefba08e5855f790f4c1f988bf5919ab225f759b3f /libavcodec/h264.c
parent59e31aa2cafb1e7e15ff2242cded003c67a36c61 (diff)
downloadffmpeg-011f3892ff3533c0b1157fdc614362ab31b2fe8f.tar.gz
h264: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 55522aab2b..fbc94b8800 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4204,17 +4204,17 @@ static const AVOption h264_options[] = {
};
static const AVClass h264_class = {
- "H264 Decoder",
- av_default_item_name,
- h264_options,
- LIBAVUTIL_VERSION_INT,
+ .class_name = "H264 Decoder",
+ .item_name = av_default_item_name,
+ .option = h264_options,
+ .version = LIBAVUTIL_VERSION_INT,
};
static const AVClass h264_vdpau_class = {
- "H264 VDPAU Decoder",
- av_default_item_name,
- h264_options,
- LIBAVUTIL_VERSION_INT,
+ .class_name = "H264 VDPAU Decoder",
+ .item_name = av_default_item_name,
+ .option = h264_options,
+ .version = LIBAVUTIL_VERSION_INT,
};
AVCodec ff_h264_decoder = {