ALSA: fix a stupid bad use of av_freep.
authorNicolas George <nicolas.george@normalesup.org>
Thu, 31 Mar 2011 16:49:07 +0000 (18:49 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 31 Mar 2011 16:49:07 +0000 (18:49 +0200)
commit1e96d4c71e68fdefc284d7dfb9701d1378a024c8
treeed74ff68d88efe543507769e39908a8ad4656058
parent1caa4123bd83f8b1f8a4e11a8d8539be7d54b105
ALSA: fix a stupid bad use of av_freep.

It caused a segfault when channel reordering was in use and the last chunk
of data was not silent.
Spotted and diagnosed by Carl Eugen Hoyos.
libavdevice/alsa-audio-common.c