1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

assdec: return EOF instead of EIO.

This commit is contained in:
Nicolas George 2012-08-02 11:21:20 +02:00
parent aa5b93fbd8
commit 93d428953c

View File

@ -147,7 +147,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
uint8_t *p, *end;
if(ass->event_index >= ass->event_count)
return AVERROR(EIO);
return AVERROR_EOF;
p= ass->event[ ass->event_index ];