avformat/hcom: Tell the compiler about set but not read variables

This avoids 3 warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/322/head
Michael Niedermayer 5 years ago
parent c80715f153
commit 24e5270911
  1. 2
      libavformat/hcom.c

@ -38,7 +38,7 @@ static int hcom_probe(const AVProbeData *p)
static int hcom_read_header(AVFormatContext *s) static int hcom_read_header(AVFormatContext *s)
{ {
AVStream *st; AVStream *st;
unsigned data_size, rsrc_size, huffcount; av_unused unsigned data_size, rsrc_size, huffcount;
unsigned compresstype, divisor; unsigned compresstype, divisor;
unsigned dict_entries; unsigned dict_entries;
int ret; int ret;

Loading…
Cancel
Save