[FFmpeg-cvslog] r18531 - trunk/libavformat/asfdec.c
rbultje
subversion
Thu Apr 16 02:41:31 CEST 2009
Author: rbultje
Date: Thu Apr 16 02:41:31 2009
New Revision: 18531
Log:
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".
Modified:
trunk/libavformat/asfdec.c
Modified: trunk/libavformat/asfdec.c
==============================================================================
--- trunk/libavformat/asfdec.c Wed Apr 15 22:18:02 2009 (r18530)
+++ trunk/libavformat/asfdec.c Thu Apr 16 02:41:31 2009 (r18531)
@@ -702,7 +702,7 @@ int ff_asf_parse_packet(AVFormatContext
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) {
More information about the ffmpeg-cvslog
mailing list