[FFmpeg-trac] #7572(avformat:open): Infinite loop during getting single frame (image2) from HLS/fmp4 video file
FFmpeg
trac at avcodec.org
Sun Jan 27 06:10:57 EET 2019
#7572: Infinite loop during getting single frame (image2) from HLS/fmp4 video file
--------------------------------------+------------------------------------
Reporter: javer | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: deadlock mov | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
--------------------------------------+------------------------------------
Comment (by mptcultist):
{{{
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 9b9739f788..c222582886 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -4933,7 +4933,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext
*pb, MOVAtom atom)
static int mov_read_sidx(MOVContext *c, AVIOContext *pb, MOVAtom atom)
{
- int64_t offset = avio_tell(pb) + atom.size, pts, timestamp;
+ int64_t offset = avio_tell(pb), pts, timestamp;
uint8_t version;
unsigned i, j, track_id, item_count;
AVStream *st = NULL;
--
}}}
here you go
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7572#comment:16>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list