[FFmpeg-devel] [PATCH] avformat/mov: fix hang while seek on a kind of fragmented mp4.
Michael Niedermayer
michael at niedermayer.cc
Fri Feb 22 03:40:07 EET 2019
On Wed, Feb 20, 2019 at 11:54:56PM +0800, Charles Liu wrote:
> 1. organize fragmented information according to the tracks.
> 2. do NOT skip the last boxes of fragmented info.
>
> ticket #7572
>
> Signed-off-by: Charles Liu <liuchh83 at gmail.com>
> ---
> libavformat/isom.h | 10 +-
> libavformat/mov.c | 375 ++++++++++++++++++++++-----------------------
> 2 files changed, 185 insertions(+), 200 deletions(-)
this causes OOM and crashes
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3796f00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3796f00] stream 1, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3796f00] error reading header
*** Error in `./ffmpeg': double free or corruption (fasttop): 0x000000000379b100 ***
Aborted (core dumped)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190222/c578efe9/attachment.sig>
More information about the ffmpeg-devel
mailing list