summaryrefslogtreecommitdiffstats
path: root/libavformat/wsddec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wsddec.c')
-rw-r--r--libavformat/wsddec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/wsddec.c b/libavformat/wsddec.c
index 574addf..2313b0e 100644
--- a/libavformat/wsddec.c
+++ b/libavformat/wsddec.c
@@ -161,6 +161,7 @@ static int wsd_read_header(AVFormatContext *s)
return avio_seek(pb, data_offset, SEEK_SET);
}
+FF_RAW_DEMUXER_CLASS(wsd)
AVInputFormat ff_wsd_demuxer = {
.name = "wsd",
.long_name = NULL_IF_CONFIG_SMALL("Wideband Single-bit Data (WSD)"),
@@ -170,4 +171,6 @@ AVInputFormat ff_wsd_demuxer = {
.extensions = "wsd",
.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK,
.raw_codec_id = AV_CODEC_ID_DSD_MSBF,
+ .priv_data_size = sizeof(FFRawDemuxerContext),
+ .priv_class = &wsd_demuxer_class,
};
OpenPOWER on IntegriCloud