On Sun, Sep 20, 2015 at 04:12:38PM +0200, wm4 wrote:
> Duplicates are perfectly legitimate with this format.
> ---
> libavformat/assdec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libavformat/assdec.c b/libavformat/assdec.c
> index 5423c03..a9a2efa 100644
> --- a/libavformat/assdec.c
> +++ b/libavformat/assdec.c
> @@ -125,6 +125,8 @@ static int ass_read_header(AVFormatContext *s)
> av_bprint_init(&line, 0, AV_BPRINT_SIZE_UNLIMITED);
> av_bprint_init(&rline, 0, AV_BPRINT_SIZE_UNLIMITED);
>
> + ass->q.keep_duplicates = 1;
> +
> for (;;) {
> int64_t pos = get_line(&line, &tr);
> int64_t ts_start = AV_NOPTS_VALUE;I'm not sure why ASS in particular but I guess it's fine, feel free to push -- Clément B.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
