]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sapdec.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavformat / sapdec.c
index eec73aa2f4593399b83483fa305c5f30917602e4..3014bdaa97218b62601e68a2696153fe4d2dc80f 100644 (file)
@@ -65,9 +65,9 @@ static int sap_read_header(AVFormatContext *s)
     struct SAPState *sap = s->priv_data;
     char host[1024], path[1024], url[1024];
     uint8_t recvbuf[RTP_MAX_PACKET_LENGTH];
+    const AVInputFormat *infmt;
     int port;
     int ret, i;
-    ff_const59 AVInputFormat* infmt;
 
     if (!ff_network_init())
         return AVERROR(EIO);