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:
parent
168565ce44
commit
6a055bf036
14 changed files with 27 additions and 57 deletions
|
|
@ -60,7 +60,6 @@ static int acm_read_header(AVFormatContext *s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
FF_RAW_DEMUXER_CLASS(acm)
|
||||
const AVInputFormat ff_acm_demuxer = {
|
||||
.name = "acm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
|
||||
|
|
@ -71,5 +70,5 @@ const AVInputFormat ff_acm_demuxer = {
|
|||
.extensions = "acm",
|
||||
.raw_codec_id = AV_CODEC_ID_INTERPLAY_ACM,
|
||||
.priv_data_size = sizeof(FFRawDemuxerContext),
|
||||
.priv_class = &acm_demuxer_class,
|
||||
.priv_class = &ff_raw_demuxer_class,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue