Commit 93d42895 authored by Nicolas George's avatar Nicolas George

assdec: return EOF instead of EIO.

parent aa5b93fb
...@@ -147,7 +147,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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 ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment