[x264-devel] commit: Really fix encoder_close crash this time (Steven Walters )

git version control git at videolan.org
Wed Sep 23 11:01:53 CEST 2009


x264 | branch: master | Steven Walters <kemuri9 at gmail.com> | Tue Sep 22 12:14:23 2009 -0700| [c62060d242879d8271c22a486b286b91147d2ebf] | committer: Jason Garrett-Glaser 

Really fix encoder_close crash this time
Not-entirely-fixed in r1253.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c62060d242879d8271c22a486b286b91147d2ebf
---

 encoder/lookahead.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/lookahead.c b/encoder/lookahead.c
index 0f64741..9c8dd17 100644
--- a/encoder/lookahead.c
+++ b/encoder/lookahead.c
@@ -174,9 +174,9 @@ void x264_lookahead_delete( x264_t *h )
     }
     x264_synch_frame_list_delete( &h->lookahead->ifbuf );
     x264_synch_frame_list_delete( &h->lookahead->next );
-    x264_synch_frame_list_delete( &h->lookahead->ofbuf );
     if( h->lookahead->last_nonb )
         x264_frame_push_unused( h, h->lookahead->last_nonb );
+    x264_synch_frame_list_delete( &h->lookahead->ofbuf );
     x264_free( h->lookahead );
 }
 



More information about the x264-devel mailing list