#define SOL_16BIT 4
#define SOL_STEREO 16
-static int sol_codec_id(int magic, int type)
+static enum CodecID sol_codec_id(int magic, int type)
{
if (magic == 0x0B8D)
{
int size;
unsigned int magic,tag;
ByteIOContext *pb = s->pb;
- unsigned int id, codec, channels, rate, type;
+ unsigned int id, channels, rate, type;
+ enum CodecID codec;
AVStream *st;
/* check ".snd" header */
return 0;
}
-static int sol_read_close(AVFormatContext *s)
-{
- return 0;
-}
-
AVInputFormat sol_demuxer = {
"sol",
- "Sierra SOL Format",
+ NULL_IF_CONFIG_SMALL("Sierra SOL format"),
0,
sol_probe,
sol_read_header,
sol_read_packet,
- sol_read_close,
+ NULL,
pcm_read_seek,
};