Re: [FFmpeg-devel] [PATCH] avcodec/mov: Allocate skipped_bytes_pos with av_realloc.

2017-09-01 Thread Michael Niedermayer
On Thu, Aug 31, 2017 at 02:07:43PM -0400, Mark Wachsler wrote: > Memory reallocated with av_reallocp_array is supposed to be allocated > with av_realloc, not av_malloc. Our docs did briefly claim this but it was removed years ago in 21f70940ae106bfffa07e73057cdb4b5e81a767a Also FFmpeg has been wr

[FFmpeg-devel] [PATCH] avcodec/mov: Allocate skipped_bytes_pos with av_realloc.

2017-08-31 Thread Mark Wachsler
Memory reallocated with av_reallocp_array is supposed to be allocated with av_realloc, not av_malloc. --- libavcodec/h2645_parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c index b0d9ff66f0..1b2534b2e6 100644 --- a/lib