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;
|
uint8_t *p, *end;
|
||||||
|
|
||||||
if(ass->event_index >= ass->event_count)
|
if(ass->event_index >= ass->event_count)
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
|
|
||||||
p= ass->event[ ass->event_index ];
|
p= ass->event[ ass->event_index ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user