1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-14 00:58:38 +02:00

jvdec: Return EOF on end of file

This commit is contained in:
Luca Barbato 2013-12-13 03:10:16 +01:00
parent dfc50ac85e
commit 027712e851

View File

@ -184,6 +184,9 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
if (s->pb->eof_reached)
return AVERROR_EOF;
return AVERROR(EIO);
}