|
|
|
@@ -2250,7 +2250,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files, |
|
|
|
if (codec->flags & CODEC_FLAG_PASS2) { |
|
|
|
char *logbuffer; |
|
|
|
size_t logbuffer_size; |
|
|
|
if (read_file(logfilename, &logbuffer, &logbuffer_size) < 0) { |
|
|
|
if (cmdutils_read_file(logfilename, &logbuffer, &logbuffer_size) < 0) { |
|
|
|
av_log(NULL, AV_LOG_FATAL, "Error reading log file '%s' for pass-2 encoding\n", |
|
|
|
logfilename); |
|
|
|
exit_program(1); |
|
|
|
|