X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsdxdec.c;h=76fd2caa0005f1c3728f90fc7a0999ecdd152261;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=e8e7a4f88d05e0054b4e13b905dd6efa72339b41;hpb=39278ff0de5b5e3397c22538978bffbb38ee099b;p=ffmpeg diff --git a/libavformat/sdxdec.c b/libavformat/sdxdec.c index e8e7a4f88d0..76fd2caa000 100644 --- a/libavformat/sdxdec.c +++ b/libavformat/sdxdec.c @@ -25,7 +25,7 @@ #include "internal.h" #include "pcm.h" -static int sdx_probe(AVProbeData *p) +static int sdx_probe(const AVProbeData *p) { if (AV_RB32(p->buf) == AV_RB32("SDX:")) return AVPROBE_SCORE_EXTENSION; @@ -78,7 +78,7 @@ static int sdx_read_header(AVFormatContext *s) return 0; } -AVInputFormat ff_sdx_demuxer = { +const AVInputFormat ff_sdx_demuxer = { .name = "sdx", .long_name = NULL_IF_CONFIG_SMALL("Sample Dump eXchange"), .read_probe = sdx_probe,