fftools/ffmpeg: fix stream id in an error message.

Broken in 7ef7a22251
This commit is contained in:
Anton Khirnov 2022-11-28 11:34:04 +01:00
parent c60941dfaf
commit 3b21f10639
1 changed files with 2 additions and 1 deletions

View File

@ -3797,7 +3797,8 @@ static int transcode(void)
packets_written = atomic_load(&ost->packets_written);
total_packets_written += packets_written;
if (!packets_written && (abort_on_flags & ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM)) {
av_log(NULL, AV_LOG_FATAL, "Empty output on stream %d.\n", i);
av_log(NULL, AV_LOG_FATAL, "Empty output on stream %d:%d.\n",
ost->file_index, ost->index);
exit_program(1);
}
}