X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Flibopenmpt.c;h=b07da5f078d1abbdd64548a2487f44f5e1f706d0;hb=26798932ae13f3505dc50be30f17796c4c8c9e67;hp=0fff702a36f4689ecf618c40062079d3e6a91000;hpb=22219a3ac46ac18f797c94e4619a34728556786c;p=ffmpeg diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c index 0fff702a36f..b07da5f078d 100644 --- a/libavformat/libopenmpt.c +++ b/libavformat/libopenmpt.c @@ -218,7 +218,7 @@ static int read_seek_openmpt(AVFormatContext *s, int stream_idx, int64_t ts, int return 0; } -static int probe_openmpt_extension(AVProbeData *p) +static int probe_openmpt_extension(const AVProbeData *p) { const char *ext; if (p->filename) { @@ -232,7 +232,7 @@ static int probe_openmpt_extension(AVProbeData *p) return 0; } -static int read_probe_openmpt(AVProbeData *p) +static int read_probe_openmpt(const AVProbeData *p) { #if OPENMPT_API_VERSION_AT_LEAST(0,3,0) int probe_result; @@ -259,7 +259,7 @@ static int read_probe_openmpt(AVProbeData *p) } else { /* The file extension is unknown and we have very few data * bytes available. libopenmpt cannot decide anything here, - * and returning any score > 0 would result in successfull + * and returning any score > 0 would result in successful * probing of random data. */ return 0;