From 4abd85141cc70c9c03df069863674b2bf32f1d49 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 16 Feb 2010 18:25:05 +0000 Subject: [PATCH] Revert r21851. Originally committed as revision 21852 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp_asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtp_asf.c b/libavformat/rtp_asf.c index 2b05b3e6d9..d44ff5a67f 100644 --- a/libavformat/rtp_asf.c +++ b/libavformat/rtp_asf.c @@ -197,7 +197,7 @@ static int asfrtp_parse_packet(AVFormatContext *s, PayloadContext *asf, } if (!len_off && !asf->pktbuf && !(res = url_open_dyn_packet_buf(&asf->pktbuf, rt->asf_ctx->packet_size))) - return AVERROR(EIO); + return res; if (!asf->pktbuf) return AVERROR(EIO);