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:
parent
aa5b93fbd8
commit
93d428953c
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user