]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/epafdec.c
avcodec/flacenc: Remove always-true check
[ffmpeg] / libavformat / epafdec.c
index 0cd9627a4b220b8baa3369574b945183032e3190..8b94278c01ef1df93e81421615cb34b773fad751 100644 (file)
@@ -25,7 +25,7 @@
 #include "internal.h"
 #include "pcm.h"
 
-static int epaf_probe(AVProbeData *p)
+static int epaf_probe(const AVProbeData *p)
 {
     if (((AV_RL32(p->buf) == MKTAG('f','a','p',' ') &&
           AV_RL32(p->buf + 8) == 1) ||
@@ -93,7 +93,7 @@ static int epaf_read_header(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat ff_epaf_demuxer = {
+const AVInputFormat ff_epaf_demuxer = {
     .name           = "epaf",
     .long_name      = NULL_IF_CONFIG_SMALL("Ensoniq Paris Audio File"),
     .read_probe     = epaf_probe,