]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/qcp.c
network: Extend the fallback gai_strerror implementation to handle more error codes
[ffmpeg] / libavformat / qcp.c
index 291eb182edc6b28fc7d94d11c68b6782a3ae478c..6545a1cdfdc2ef0ffaeeb182dc10ddb5e391a815 100644 (file)
@@ -80,11 +80,11 @@ static int qcp_probe(AVProbeData *pd)
     return 0;
 }
 
-static int qcp_read_header(AVFormatContext *s, AVFormatParameters *ap)
+static int qcp_read_header(AVFormatContext *s)
 {
     AVIOContext *pb = s->pb;
     QCPContext    *c  = s->priv_data;
-    AVStream      *st = av_new_stream(s, 0);
+    AVStream      *st = avformat_new_stream(s, NULL);
     uint8_t       buf[16];
     int           i, nb_rates;