]> granicus.if.org Git - libx264/commitdiff
Remove some unused code from x264.c
authorSteven Walters <kemuri9@gmail.com>
Fri, 4 Dec 2009 20:17:56 +0000 (12:17 -0800)
committerFiona Glaser <fiona@x264.com>
Sat, 5 Dec 2009 10:01:27 +0000 (02:01 -0800)
x264.c

diff --git a/x264.c b/x264.c
index 0e7d728f5fb7d8e5b5f3e0f475a15716b5610729..5dc700333b5b3d116e146a600fd2fad666c311f9 100644 (file)
--- a/x264.c
+++ b/x264.c
@@ -39,9 +39,6 @@
 #define SetConsoleTitle(t)
 #endif
 
-uint8_t *mux_buffer = NULL;
-int mux_buffer_size = 0;
-
 /* Ctrl-C handler */
 static int     b_ctrl_c = 0;
 static int     b_exit_on_ctrl_c = 0;
@@ -1293,7 +1290,6 @@ static int  Encode( x264_param_t *param, cli_opt_t *opt )
     if( opt->b_progress )
         fprintf( stderr, "                                                                               \r" );
     x264_encoder_close( h );
-    x264_free( mux_buffer );
     fprintf( stderr, "\n" );
 
     if( b_ctrl_c )