]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtp.c
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
[ffmpeg] / libavformat / rtp.c
index 637e4d469dd0bd9ba0d56c977e55d1fb3f24f175..e42cfb16d47df1172cfa46da22f39c281b8a99c7 100644 (file)
@@ -741,7 +741,7 @@ static int rtp_write_header(AVFormatContext *s1)
 
     max_packet_size = url_fget_max_packet_size(&s1->pb);
     if (max_packet_size <= 12)
-        return AVERROR_IO;
+        return AVERROR(EIO);
     s->max_payload_size = max_packet_size - 12;
 
     switch(st->codec->codec_id) {