diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-22 23:32:42 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-23 00:30:37 +0000 |
commit | e9d5c0520ff5093b535b6fa48d6eba41a18c0838 (patch) | |
tree | d3860257004e51e6d603440c919ccd3deacbf5d5 /libavcodec/rawdec.c | |
parent | 53cec46b255d8587539516f7a013b56a25c7c6d7 (diff) | |
download | ffmpeg-e9d5c0520ff5093b535b6fa48d6eba41a18c0838.tar.gz |
lavc: use designated initializers for AVClasses
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index d790b881fb..25ecde19a2 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -45,7 +45,12 @@ static const AVOption options[]={ {"top", "top field first", offsetof(RawVideoContext, tff), AV_OPT_TYPE_INT, {.dbl = -1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_VIDEO_PARAM}, {NULL} }; -static const AVClass class = { "rawdec", NULL, options, LIBAVUTIL_VERSION_INT }; + +static const AVClass class = { + .class_name = "rawdec", + .option = options, + .version = LIBAVUTIL_VERSION_INT, +}; static const PixelFormatTag pix_fmt_bps_avi[] = { { PIX_FMT_MONOWHITE, 1 }, |