mjpeg encoder crashes
|Reported by:||Marek Fort||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Encoding mjpeg stream crashes. I do not have repro which I can share.
But I was able to find one commit which breaks the encoder.
My starting good version was 2.4 and breaking version 2.5. Then I used git bisect and found this commit:
Author: Michael Niedermayer <firstname.lastname@example.org>
Date: 29-Sep-14 5:42:59
avcodec/mpegvideo_enc: Allocate only a small buffer and reallocate as needed
This should reduce the memory requirement
Signed-off-by: Michael Niedermayer <email@example.com>
I am not that good with ffmpeg internals to be able to find the real problem with this commit.
The app crashes with access violation. It writes to memory which is not allocated. The stack points to avcodec library.