]> git.sesse.net Git - vlc/commit
demux(avi): fix crash occuring when trying to open some avi files
authorErwan Tulou <erwan10@videolan.org>
Tue, 16 Feb 2010 12:07:10 +0000 (13:07 +0100)
committerErwan Tulou <erwan10@videolan.org>
Tue, 16 Feb 2010 13:00:53 +0000 (14:00 +0100)
commit97b484a832fa5846a69c538047c7761e749e939d
tree5a7c822d2b6afb8dae2d0160249afcfb9a069d36
parentb0830f25a29cb54513fe8f61a5bc7bfd4bafd996
demux(avi): fix crash occuring when trying to open some avi files

fmt.p_extra should only reference malloc'ed memory, since it is cleaned
with free() in es_format_Clean.

This patch reuses the same logic for p_vids as that of p_auds.
modules/demux/avi/avi.c