X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsbcdec.c;h=7a455ce12324d2a2b5d1ec6d9552df74c6290f01;hb=8b3e6ce5f4ab1ebf3a54ff7e0ff440a1a5f842f7;hp=ae74a220dc81a10a35e49f8883f10942543930be;hpb=4069096dd535ee99175c2a29c1a1f59c3fc110c1;p=ffmpeg diff --git a/libavformat/sbcdec.c b/libavformat/sbcdec.c index ae74a220dc8..7a455ce1232 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, };