diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-07 16:13:33 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-08 16:03:18 +0200 |
commit | 6a055bf03612a67280e1188b269d2fa6cb08d3e7 (patch) | |
tree | 32d0241612285cf46dc451fb5a70281f8198958b /libavformat/ipudec.c | |
parent | 168565ce44308451a50b3ece731727988e0f2389 (diff) | |
download | ffmpeg-6a055bf03612a67280e1188b269d2fa6cb08d3e7.tar.gz |
avformat/rawdec: Deduplicate AVClasses based upon ff_raw_options
The child_class_next API relied on different (de)muxers to use
different AVClasses; yet this API has been replaced by
child_class_iterate.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/ipudec.c')
-rw-r--r-- | libavformat/ipudec.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavformat/ipudec.c b/libavformat/ipudec.c index b76371b58c..27b6b59356 100644 --- a/libavformat/ipudec.c +++ b/libavformat/ipudec.c @@ -68,13 +68,6 @@ static int ipu_read_header(AVFormatContext *s) return 0; } -static const AVClass ipu_demuxer_class = { - .class_name = "ipu demuxer", - .item_name = av_default_item_name, - .option = ff_raw_options, - .version = LIBAVUTIL_VERSION_INT, -}; - const AVInputFormat ff_ipu_demuxer = { .name = "ipu", .long_name = NULL_IF_CONFIG_SMALL("raw IPU Video"), @@ -85,5 +78,5 @@ const AVInputFormat ff_ipu_demuxer = { .flags = AVFMT_GENERIC_INDEX, .raw_codec_id = AV_CODEC_ID_IPU, .priv_data_size = sizeof(FFRawDemuxerContext), - .priv_class = &ipu_demuxer_class, + .priv_class = &ff_raw_demuxer_class, }; |