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:
parent
c60941dfaf
commit
3b21f10639
@ -3797,7 +3797,8 @@ static int transcode(void)
|
|||||||
packets_written = atomic_load(&ost->packets_written);
|
packets_written = atomic_load(&ost->packets_written);
|
||||||
total_packets_written += packets_written;
|
total_packets_written += packets_written;
|
||||||
if (!packets_written && (abort_on_flags & ABORT_ON_FLAG_EMPTY_OUTPUT_STREAM)) {
|
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);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user