Re: [FFmpeg-devel] [PATCH] avformat/mov: fix overallocation when reading pssh/saiz

2023-06-12 Thread Marvin Scholz (ePirat)
Hi, > On 12. Jun 2023, at 13:56, Zhao Zhili wrote: > > From: Zhao Zhili > > mov_try_read_block() allocates 1MB at least, which can be more than > enough. It was called when reading saiz box, which can appear > periodically inside fmp4. This consumes a lot of memory. > > We can fix

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc.c: Fix preprocessor macro for OSX, 10.10.5 and probably older versions

2021-06-14 Thread Marvin Scholz (ePirat)
> Am 14.06.2021 um 15:03 schrieb Thilo Borgmann : > > Hi, > > TARGET_OS_OSX exists since OSX 10.10.6. TARGET_OS_MAC is there on both sides > of 10.10.6. Fixes compilation on Yosemite. > Hi Thilo, TARGET_OS_MAC is 1 when building for iOS as well, you need !TARGET_OS_IPHONE instead. >