1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

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

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);
}
}