Changeset 241f8465 in ffmpeg

Timestamp:
Feb 21, 2012, 3:45:34 PM (13 years ago)
Author:
Clément Bœsch <ubitux@gmail.com>
Branches:
master
Children:
aecf0cf5
Parents:
eadd4264
git-author:
Clément Bœsch <clement.boesch@smartjog.com> (02/15/12 14:07:09)
git-committer:
Clément Bœsch <ubitux@gmail.com> (02/21/12 15:45:34)
Message:

lavfi/abuffer: init the data planes with NULL pointers.

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]).

(No files)

Note: See TracChangeset for help on using the changeset viewer.