assdec: return EOF instead of EIO.

pull/28/head
Nicolas George 12 years ago
parent aa5b93fbd8
commit 93d428953c
  1. 2
      libavformat/assdec.c

@ -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…
Cancel
Save