swresample: replace 2 av_free() by av_freep()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Sep 2013 20:44:15 +0000 (22:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Sep 2013 20:44:15 +0000 (22:44 +0200)
commit9078b40d354b1e3e8995ca781d4ccfda0044a8f4
treefe133d189c1eff5a4e376fc18246e0229b8e7946
parentc051d668b5dbf040f92551f78b1b13635b8fcfb8
swresample: replace 2 av_free() by av_freep()

avoids leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/resample.c
libswresample/swresample.c