summaryrefslogtreecommitdiff
path: root/libavformat/g722.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-07 16:13:33 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-08 16:03:18 +0200
commit6a055bf03612a67280e1188b269d2fa6cb08d3e7 (patch)
tree32d0241612285cf46dc451fb5a70281f8198958b /libavformat/g722.c
parent168565ce44308451a50b3ece731727988e0f2389 (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/g722.c')
-rw-r--r--libavformat/g722.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/g722.c b/libavformat/g722.c
index 360ced7172..3bfe05ea6f 100644
--- a/libavformat/g722.c
+++ b/libavformat/g722.c
@@ -46,7 +46,6 @@ static int g722_read_header(AVFormatContext *s)
return 0;
}
-FF_RAW_DEMUXER_CLASS(g722)
const AVInputFormat ff_g722_demuxer = {
.name = "g722",
.long_name = NULL_IF_CONFIG_SMALL("raw G.722"),
@@ -56,4 +55,5 @@ const AVInputFormat ff_g722_demuxer = {
.extensions = "g722,722",
.raw_codec_id = AV_CODEC_ID_ADPCM_G722,
.priv_data_size = sizeof(FFRawDemuxerContext),
- .priv_class = &g722_demuxer_class,};
+ .priv_class = &ff_raw_demuxer_class,
+};