diff rtp.c @ 2274:b21c2af60bc9 libavformat

Replace all occurrences of AVERROR_IO with AVERROR(EIO).
author takis
date Thu, 19 Jul 2007 15:23:32 +0000
parents 3427d0c63a32
children 18e94e5989d8
line wrap: on
line diff
--- a/rtp.c	Thu Jul 19 15:21:30 2007 +0000
+++ b/rtp.c	Thu Jul 19 15:23:32 2007 +0000
@@ -741,7 +741,7 @@
 
     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) {