lavf/srtdec: remove line break hack.
This is not necessary anymore since the last commit.
This commit is contained in:
parent
d927d8395d
commit
3af3a3006f
@ -115,12 +115,6 @@ static void read_chunk(AVIOContext *pb, AVBPrint *buf)
|
|||||||
av_bprint_chars(buf, c, 1);
|
av_bprint_chars(buf, c, 1);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: remove the following when the lavc SubRip decoder is fixed
|
|
||||||
* (trailing tags are not correctly flushed, see what happens to FATE when
|
|
||||||
* you disable this code) */
|
|
||||||
if (buf->len)
|
|
||||||
av_bprintf(buf, "\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int srt_read_header(AVFormatContext *s)
|
static int srt_read_header(AVFormatContext *s)
|
||||||
|
Loading…
Reference in New Issue
Block a user