ffmpeg/libavfilter
Stefano Sabatini e9af732a1a lavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()
av_samples_alloc() behavior changed in bbb46f3ec, resulting in random
data filling the data[] and linesize[] arrays of the returned
AVFilterBufferRef, which was resulting in wrong behavior in case of code
checking on data[i] nullity.

In particular fixes crash in avfilter_filter_samples():
        for (i = 0; samplesref->data[i]; i++)
            memcpy(link->cur_buf->data[i], samplesref->data[i], samplesref->linesize[0]);

and correctly fills the linesize[] array for planar data.
2011-12-27 15:20:54 +01:00
..
2011-12-04 21:13:22 +01:00
2011-12-27 11:05:08 +01:00
2011-12-13 21:08:43 +01:00
2011-11-25 04:45:41 +01:00
2011-11-14 05:42:10 +01:00
2011-12-11 11:55:33 +01:00