From 6f3e0b21748b53fd7b0471196bbda1d7e561f4fe Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 19 Jul 2007 15:23:32 +0000 Subject: Replace all occurrences of AVERROR_IO with AVERROR(EIO). Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtp.c') diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 637e4d469d..e42cfb16d4 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -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) { -- cgit v1.2.3