[FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

Michael Niedermayer michael at niedermayer.cc
Thu Nov 28 22:26:39 EET 2024


On Wed, Nov 27, 2024 at 11:10:09AM -0300, James Almer wrote:
> Should reduce memory usage as well as remove code duplication.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavformat/isom.h |  15 +-
>  libavformat/mov.c  | 544 +++++++++++++++++----------------------------
>  2 files changed, 221 insertions(+), 338 deletions(-)

seems to break fate

--- ./tests/ref/fate/quickdraw	2024-11-08 01:56:45.436643333 +0100
+++ tests/data/fate/quickdraw	2024-11-28 21:24:33.747070812 +0100
@@ -9,7 +9,7 @@
 0,          3,          3,        1,   921600, 0xc0e68764
 0,          4,          4,        1,   921600, 0xc0e68764
 0,          5,          5,        1,   921600, 0xc0e68764
-0,          7,          7,        2,   921600, 0x01a16629
+0,          7,          7,        1,   921600, 0x01a16629
 0,          9,          9,        1,   921600, 0x01a16629
 0,         10,         10,        1,   921600, 0x01a16629
 0,         11,         11,        1,   921600, 0x01a16629
Test quickdraw failed. Look at tests/data/fate/quickdraw.err for details.
make: *** [tests/Makefile:311: fate-quickdraw] Error 1

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Give a rich man 100$ and he will turn it into 1000$.
Give a poor man 1000$ and he will spend it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241128/bc7efeb6/attachment.sig>


More information about the ffmpeg-devel mailing list