X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fassdec.c;h=62298573952f924459bcabf2d74bdbfbd067fcfe;hb=fe40dc1cecdf152ffacff6df1d9c5f0c7daced85;hp=f76424a36c8fe05a0721902dbe57d705a8b622ee;hpb=b27c7d70d8ea6e589d0838f0d2529b99928b7192;p=ffmpeg diff --git a/libavformat/assdec.c b/libavformat/assdec.c index f76424a36c8..62298573952 100644 --- a/libavformat/assdec.c +++ b/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 ]; @@ -205,7 +205,7 @@ static int read_seek2(AVFormatContext *s, int stream_index, AVInputFormat ff_ass_demuxer = { .name = "ass", - .long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"), + .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"), .priv_data_size = sizeof(ASSContext), .read_probe = probe, .read_header = read_header,