aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-02-16 18:25:05 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-02-16 18:25:05 +0000
commit4abd85141cc70c9c03df069863674b2bf32f1d49 (patch)
tree6ceaa52216a94a3914e7978a8dc0f365e68458c7
parent298d2fd304becb82c106a5938b95e5d29cf68c37 (diff)
downloadffmpeg-4abd85141cc70c9c03df069863674b2bf32f1d49.tar.gz
Revert r21851.
Originally committed as revision 21852 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtp_asf.c2
1 files changed, 1 insertions, 1 deletions
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);