[FFmpeg-devel] [PATCH v2] Patch for memory optimization with QuickTime/MP4

2019-12-02 Thread Jörg Beckmann
After discussion with Carl Eugen, I replaced the "if" in line 7737 with an assert(). There is still the question, whether mov_switch_root() might be called when reading from a file. If someone is really really sure that it cannot happen at all, the check in mov_read_seek() could be removed. Jö

Re: [FFmpeg-devel] [PATCH v2] Patch for memory optimization with QuickTime/MP4

2019-12-02 Thread Michael Niedermayer
On Mon, Dec 02, 2019 at 02:12:14PM +, Jörg Beckmann wrote: > After discussion with Carl Eugen, I replaced the "if" in line 7737 with an > assert(). > > There is still the question, whether mov_switch_root() might be called when > reading from a file. If someone is really really sure that it

Re: [FFmpeg-devel] [PATCH v2] Patch for memory optimization with QuickTime/MP4

2019-12-02 Thread Jörg Beckmann
> -Ursprüngliche Nachricht- > Von: ffmpeg-devel Im Auftrag von Michael > Niedermayer > Gesendet: Montag, 2. Dezember 2019 21:54 > An: FFmpeg development discussions and patches > Betreff: Re: [FFmpeg-devel] [PATCH v2] Patch for memory optimization with > QuickTime/MP