OSDN Git Service

audio_mix: initialize the data pointers to NULL
authorAnton Khirnov <anton@khirnov.net>
Mon, 16 Dec 2013 17:20:41 +0000 (18:20 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Jan 2014 15:42:23 +0000 (16:42 +0100)
commit3d95d27376e59de14f984e7a22a52e066d85df35
tree487b2241c7d00bafcfa3fc9136561a11702b039b
parent58312b2472d3a44d7458865c459d59ef2e02bf1a
audio_mix: initialize the data pointers to NULL

This should make it easier to catch problems where some of those
pointers are used uninitialized, since reading from NULL should always
crash, while random numbers from stack can turn out to be valid
pointers, so random memory may be silently overwritten.
libavresample/audio_mix.c