X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsol.c;h=42498492b65aeb8be76abd9d458a4e6395cd9fc3;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=5796f8d23486a43f16a18a662bb9ab72e7142042;hpb=23ce57af3ad684363881cdd66d5724f40963a65c;p=ffmpeg diff --git a/libavformat/sol.c b/libavformat/sol.c index 5796f8d2348..42498492b65 100644 --- a/libavformat/sol.c +++ b/libavformat/sol.c @@ -32,7 +32,7 @@ /* if we don't know the size in advance */ #define AU_UNKNOWN_SIZE ((uint32_t)(~0)) -static int sol_probe(AVProbeData *p) +static int sol_probe(const AVProbeData *p) { /* check file header */ uint16_t magic = AV_RL32(p->buf); @@ -138,7 +138,7 @@ static int sol_read_packet(AVFormatContext *s, return 0; } -AVInputFormat ff_sol_demuxer = { +const AVInputFormat ff_sol_demuxer = { .name = "sol", .long_name = NULL_IF_CONFIG_SMALL("Sierra SOL"), .read_probe = sol_probe,