ffplay: fix use after free
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 21:17:29 +0000 (23:17 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 6 Jun 2012 23:21:52 +0000 (01:21 +0200)
commitc9651d4bee36c8d28729622bcf57df8a9e1aa70c
tree4d0f3fd7257a48aaa240581dcb8119d059f04227
parent1372c826de242fccec8e3d42282ac458a84bb43e
ffplay: fix use after free

reproduceable with:
ffmpeg -i tests/lena.pnm -pix_fmt pal8 -vcodec rawvideo -s 512x512 out.avi
valgrind ffplay_g out.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c