diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-04-16 00:41:31 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-04-16 00:41:31 +0000 |
commit | 799a0722fc83ea9f6ef3df54628ecb1bf282c915 (patch) | |
tree | 52f251881a2fc580b9db0c7ae9f39d820151b36f | |
parent | 7e030c473988277c3830f47438d199ef1c3ec66f (diff) | |
download | ffmpeg-799a0722fc83ea9f6ef3df54628ecb1bf282c915.tar.gz |
Replace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
thread "[PATCH] RTSP-MS 15/15: move packet_time_start zero value
assignment in asf.c".
Originally committed as revision 18531 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/asfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 16956efa1c..7b22e68997 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -702,7 +702,7 @@ int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt) ASFStream *asf_st = 0; for (;;) { if(url_feof(pb)) - return AVERROR(EIO); + return AVERROR_EOF; if (asf->packet_size_left < FRAME_HEADER_SIZE || asf->packet_segments < 1) { //asf->packet_size_left <= asf->packet_padsize) { |