diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-10 21:39:13 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-09-10 21:39:13 +0200 |
commit | a634649a36d8ed6a3fb29b4cdfb7023f7338c824 (patch) | |
tree | 3fe045983ead10896334d6af7d3f1ee64a440a86 /libavformat/subtitles.c | |
parent | 4f26c999124531ce52329de6fa83c82d15a8b43c (diff) | |
download | ffmpeg-a634649a36d8ed6a3fb29b4cdfb7023f7338c824.tar.gz |
avformat/subtitles: make sure we don't drop "duplicated" events from different streams
Diffstat (limited to 'libavformat/subtitles.c')
-rw-r--r-- | libavformat/subtitles.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/subtitles.c b/libavformat/subtitles.c index f25aa0e387..2f8b066cd9 100644 --- a/libavformat/subtitles.c +++ b/libavformat/subtitles.c @@ -176,6 +176,7 @@ static void drop_dups(FFDemuxSubtitlesQueue *q) if (q->subs[i].pts == last->pts && q->subs[i].duration == last->duration && + q->subs[i].stream_index == last->stream_index && !strcmp(q->subs[i].data, last->data)) { av_free_packet(&q->subs[i]); |