X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsbcdec.c;h=7a455ce12324d2a2b5d1ec6d9552df74c6290f01;hb=a04ad248a05e7b613abe09b3bb067f555108d794;hp=ae74a220dc81a10a35e49f8883f10942543930be;hpb=0a319bcce5714f7183b0537892f7d37d7a31493a;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, };