# HG changeset patch # User reimar # Date 1254468164 0 # Node ID 98cdc18246fee168332d7fb25daa87d0a44bb6d9 # Parent 7843c502822bb71ba2fc0a17d719b3a7e9f85c85 wav: return av_get_packet errors unchanged. diff -r 7843c502822b -r 98cdc18246fe wav.c --- a/wav.c Fri Oct 02 07:05:52 2009 +0000 +++ b/wav.c Fri Oct 02 07:22:44 2009 +0000 @@ -268,8 +268,8 @@ } size = FFMIN(size, left); ret = av_get_packet(s->pb, pkt, size); - if (ret <= 0) - return AVERROR(EIO); + if (ret < 0) + return ret; pkt->stream_index = 0; return ret;