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/sbcdec.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/sbcdec.c')
-rw-r--r-- | libavformat/sbcdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/sbcdec.c b/libavformat/sbcdec.c index 4de29b37c5..c917743fa1 100644 --- a/libavformat/sbcdec.c +++ b/libavformat/sbcdec.c @@ -22,7 +22,6 @@ #include "avformat.h" #include "rawdec.h" -FF_RAW_DEMUXER_CLASS(sbc) const AVInputFormat ff_sbc_demuxer = { .name = "sbc", .long_name = NULL_IF_CONFIG_SMALL("raw SBC (low-complexity subband codec)"), @@ -32,5 +31,5 @@ const AVInputFormat ff_sbc_demuxer = { .read_packet = ff_raw_read_partial_packet, .flags = AVFMT_GENERIC_INDEX, .priv_data_size = sizeof(FFRawDemuxerContext), - .priv_class = &sbc_demuxer_class, + .priv_class = &ff_raw_demuxer_class, }; |