diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-28 11:34:04 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-28 11:35:39 +0100 |
commit | e92075e751d6853253255250d87473abff80c2c9 (patch) | |
tree | 704354884c8717af8bd54805c0adf649853a42e3 | |
parent | 59236ccf3ce4ddcb29197102c77140896b45d15f (diff) |
fftools/ffmpeg: fix stream id in an error message.
Broken in 7ef7a22251b8
-rw-r--r-- | fftools/ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index b18b0eb01a..26e3eb5c06 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -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); } } |