X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fepafdec.c;h=8b94278c01ef1df93e81421615cb34b773fad751;hb=2606c48391377681541111263de41c79adeffa49;hp=0cd9627a4b220b8baa3369574b945183032e3190;hpb=b2f32d60eeaf883bb7d9e1b8cc2fb9a983d08f72;p=ffmpeg diff --git a/libavformat/epafdec.c b/libavformat/epafdec.c index 0cd9627a4b2..8b94278c01e 100644 --- a/libavformat/epafdec.c +++ b/libavformat/epafdec.c @@ -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,