changeset 5560:b16820598c1b

uninit sig11 fixed
author arpi
date Thu, 11 Apr 2002 11:18:02 +0000
parents 7a73663095fc
children 20b5bf45d1b0
files libvo/vo_mpegpes.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_mpegpes.c	Thu Apr 11 11:03:16 2002 +0000
+++ b/libvo/vo_mpegpes.c	Thu Apr 11 11:18:02 2002 +0000
@@ -508,9 +508,10 @@
 {
 #ifdef USE_LIBFAME
   if(picture_buf){ // YV12 only:
+    fame_close(ctx); ctx=NULL;
     free(outbuf);
     free(picture_buf);
-    fame_close(ctx); ctx=NULL;
+    picture_buf=NULL;
   }
 #endif
     if(vo_mpegpes_fd>=0){ close(vo_mpegpes_fd);vo_mpegpes_fd=-1;}