Revert r21851.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 16 Feb 2010 18:25:05 +0000 (18:25 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 16 Feb 2010 18:25:05 +0000 (18:25 +0000)
Originally committed as revision 21852 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp_asf.c

index 2b05b3e..d44ff5a 100644 (file)
@@ -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);