[FFmpeg-devel] [PATCH 1/2] lavfi/abuffer: init the data planes with NULL pointers.
Paul B Mahol
onemda at gmail.com
Mon Feb 20 19:06:54 CET 2012
On 2/20/12, Clement Boesch <ubitux at gmail.com> wrote:
> From: Clement Boesch <clement.boesch at smartjog.com>
>
> Samples buffer ref is allocated and loaded with the uninitialized data
> pointers:
> av_asrc_buffer_add_buffer()
> -> av_asrc_buffer_add_samples()
> -> avfilter_get_audio_buffer_ref_from_arrays(data, ...)
>
> ...which leads to a crash with at least lavfi/ashowinfo in case of !NULL
> (see the for loop while samplesref->data[plane]).
> ---
> libavfilter/asrc_abuffer.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
LGTM
More information about the ffmpeg-devel
mailing list