#include "internal.h"
#include "pcm.h"
-static int hcom_probe(AVProbeData *p)
+static int hcom_probe(const AVProbeData *p)
{
if (p->buf_size < 132)
return 0;
static int hcom_read_header(AVFormatContext *s)
{
AVStream *st;
- unsigned data_size, rsrc_size, huffcount;
+ av_unused unsigned data_size, rsrc_size, huffcount;
unsigned compresstype, divisor;
unsigned dict_entries;
int ret;
return 0;
}
-AVInputFormat ff_hcom_demuxer = {
+const AVInputFormat ff_hcom_demuxer = {
.name = "hcom",
.long_name = NULL_IF_CONFIG_SMALL("Macintosh HCOM"),
.read_probe = hcom_probe,