diff options
Diffstat (limited to 'libavformat/sbcdec.c')
-rw-r--r-- | libavformat/sbcdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/sbcdec.c b/libavformat/sbcdec.c index ae74a220dc..7a455ce123 100644 --- a/libavformat/sbcdec.c +++ b/libavformat/sbcdec.c @@ -22,6 +22,7 @@ #include "avformat.h" #include "rawdec.h" +FF_RAW_DEMUXER_CLASS(sbc) AVInputFormat ff_sbc_demuxer = { .name = "sbc", .long_name = NULL_IF_CONFIG_SMALL("raw SBC (low-complexity subband codec)"), @@ -30,4 +31,6 @@ AVInputFormat ff_sbc_demuxer = { .read_header = ff_raw_audio_read_header, .read_packet = ff_raw_read_partial_packet, .flags = AVFMT_GENERIC_INDEX, + .priv_data_size = sizeof(FFRawDemuxerContext), + .priv_class = &sbc_demuxer_class, }; |