# HG changeset patch # User pross # Date 1235045995 0 # Node ID 241a66d33f4948e72be7c692c0ec2c82c3e5d8e3 # Parent a65e3b37f87e3f818334327a8d09b253c85fb3af FLV demuxer: return AVERROR_EOF upon detection of end of file. diff -r a65e3b37f87e -r 241a66d33f49 flvdec.c --- a/flvdec.c Thu Feb 19 12:19:33 2009 +0000 +++ b/flvdec.c Thu Feb 19 12:19:55 2009 +0000 @@ -320,7 +320,7 @@ dts |= get_byte(s->pb) << 24; // av_log(s, AV_LOG_DEBUG, "type:%d, size:%d, dts:%d\n", type, size, dts); if (url_feof(s->pb)) - return AVERROR(EIO); + return AVERROR_EOF; url_fskip(s->pb, 3); /* stream id, always 0 */ flags = 0;