X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhcom.c;h=3e1e8da236c8021702dbaa37d6768d012bac1bbb;hb=626535f6a169e2d821b969e0ea77125ba7482113;hp=35515cc5b277e93609c90b23ecf881f7388bcb88;hpb=e4e04dce1fab81bcdef82e60184d50c73d212c6a;p=ffmpeg diff --git a/libavformat/hcom.c b/libavformat/hcom.c index 35515cc5b27..3e1e8da236c 100644 --- a/libavformat/hcom.c +++ b/libavformat/hcom.c @@ -25,7 +25,7 @@ #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; @@ -38,7 +38,7 @@ static int hcom_probe(AVProbeData *p) 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;