Commit def7e3aa authored by Loren Merritt's avatar Loren Merritt
Browse files

fix a crash on mp4 muxing with invalid params

parent b59440f0
...@@ -770,7 +770,6 @@ static int Encode( x264_param_t *param, cli_opt_t *opt ) ...@@ -770,7 +770,6 @@ static int Encode( x264_param_t *param, cli_opt_t *opt )
{ {
fprintf( stderr, "x264 [error]: x264_encoder_open failed\n" ); fprintf( stderr, "x264 [error]: x264_encoder_open failed\n" );
p_close_infile( opt->hin ); p_close_infile( opt->hin );
p_close_outfile( opt->hout );
return -1; return -1;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment