X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsapdec.c;h=eddeddeaeae8825b9ed1a1b5fe557189e0ac2bc8;hb=208ae228fa129041dc6671dcc45c025a11bf2cc6;hp=7a6c8bf1761e57bde4181739aca1cccb5a84d9fd;hpb=aebc5b2284db1f40a5b3e2e9a2bf406f606436c7;p=ffmpeg diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c index 7a6c8bf1761..eddeddeaeae 100644 --- a/libavformat/sapdec.c +++ b/libavformat/sapdec.c @@ -42,7 +42,7 @@ struct SAPState { int eof; }; -static int sap_probe(AVProbeData *p) +static int sap_probe(const AVProbeData *p) { if (av_strstart(p->filename, "sap:", NULL)) return AVPROBE_SCORE_MAX; @@ -68,7 +68,7 @@ static int sap_read_header(AVFormatContext *s) uint8_t recvbuf[RTP_MAX_PACKET_LENGTH]; int port; int ret, i; - AVInputFormat* infmt; + ff_const59 AVInputFormat* infmt; if (!ff_network_init()) return AVERROR(EIO);