diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-02-15 15:07:09 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-02-21 16:45:34 +0100 |
commit | 241f8465d07ecc0696bcda994a1f44d836b8809c (patch) | |
tree | 99743e86f6c015c80060db2fce2be02b812d126c /libavcodec/xiph.c | |
parent | eadd4264ee4319abf9ec2f618ff925d7529f20ed (diff) | |
download | ffmpeg-241f8465d07ecc0696bcda994a1f44d836b8809c.tar.gz |
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]).
Diffstat (limited to 'libavcodec/xiph.c')
0 files changed, 0 insertions, 0 deletions