You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
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>
This commit is contained in:
@@ -83,7 +83,6 @@ static int loas_read_header(AVFormatContext *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
FF_RAW_DEMUXER_CLASS(loas)
|
||||
const AVInputFormat ff_loas_demuxer = {
|
||||
.name = "loas",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("LOAS AudioSyncStream"),
|
||||
@@ -93,5 +92,5 @@ const AVInputFormat ff_loas_demuxer = {
|
||||
.flags= AVFMT_GENERIC_INDEX,
|
||||
.raw_codec_id = AV_CODEC_ID_AAC_LATM,
|
||||
.priv_data_size = sizeof(FFRawDemuxerContext),
|
||||
.priv_class = &loas_demuxer_class,
|
||||
.priv_class = &ff_raw_demuxer_class,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user