diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-07 17:13:33 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-08 17:03:18 +0300 |
commit | 6a055bf03612a67280e1188b269d2fa6cb08d3e7 (patch) | |
tree | 32d0241612285cf46dc451fb5a70281f8198958b /libavformat/takdec.c | |
parent | 168565ce44308451a50b3ece731727988e0f2389 (diff) |
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/takdec.c')
-rw-r--r-- | libavformat/takdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/takdec.c b/libavformat/takdec.c index cf400ec04b..e3f611883b 100644 --- a/libavformat/takdec.c +++ b/libavformat/takdec.c @@ -212,7 +212,6 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) return ret; } -FF_RAW_DEMUXER_CLASS(tak) const AVInputFormat ff_tak_demuxer = { .name = "tak", .long_name = NULL_IF_CONFIG_SMALL("raw TAK"), @@ -223,5 +222,5 @@ const AVInputFormat ff_tak_demuxer = { .flags = AVFMT_GENERIC_INDEX, .extensions = "tak", .raw_codec_id = AV_CODEC_ID_TAK, - .priv_class = &tak_demuxer_class, + .priv_class = &ff_raw_demuxer_class, }; |