Mercurial > mplayer.hg
changeset 35532:4eedc654175d
Fix a wrong condition.
author | upsuper |
---|---|
date | Sun, 09 Dec 2012 02:22:08 +0000 |
parents | 62a39248a55a |
children | a51fc69ae1b3 |
files | libaf/af_export.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_export.c Fri Dec 07 14:33:46 2012 +0000 +++ b/libaf/af_export.c Sun Dec 09 02:22:08 2012 +0000 @@ -74,7 +74,7 @@ int mapsize; // Free previous buffers - if (s->buf) + if (s->buf[0]) free(s->buf[0]); // unmap previous area @@ -183,7 +183,7 @@ if(af->setup){ af_export_t* s = af->setup; - if (s->buf) + if (s->buf[0]) free(s->buf[0]); // Free mmaped area