]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/hcom.c
hwcontext_vulkan: dynamically load functions
[ffmpeg] / libavformat / hcom.c
index 0d1736b6201ab95b5d77dbf773ffd2752d3accb8..b7fb7314c884c5fd219e19225ce37a64fc2bdafa 100644 (file)
@@ -38,7 +38,7 @@ static int hcom_probe(const 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;
@@ -82,7 +82,7 @@ static int hcom_read_header(AVFormatContext *s)
     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,