Quoting Andreas Rheinhardt (2020-05-29 17:52:40) > Ping. What is other's opinion on this matter? Notice that the current > behaviour is suboptimal even if it is decided that the buffer should not > be kept: It allocates 1/16 more than needed (in addition to > AV_INPUT_BUFFER_PADDING_SIZE) that is guaranteed not to be used; and it > uses mallocz for the allocation.
Random idea: free the buffer on every IDR? Not super optimal, but simple to implement. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".