diff options
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r-- | libavformat/wv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c index b3c7957248..40f94f950e 100644 --- a/libavformat/wv.c +++ b/libavformat/wv.c @@ -182,7 +182,7 @@ static int wv_read_packet(AVFormatContext *s, ret = get_buffer(&s->pb, pkt->data + WV_EXTRA_SIZE, wc->blksize); if(ret != wc->blksize){ av_free_packet(pkt); - return AVERROR_IO; + return AVERROR(EIO); } pkt->stream_index = 0; wc->block_parsed = 1; |