diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-03-30 10:50:37 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-23 11:53:19 +0200 |
commit | ff593c6c882791451199e3accd80304bcb8f0413 (patch) | |
tree | a26732b2474945f706f01bf17ca9cbb36333b6b4 /fftools/ffmpeg.c | |
parent | 4403851ca92d2eedb098a27cf91744e7e234c136 (diff) |
fftools/ffmpeg: make the muxer AVFormatContext private to ffmpeg_mux.c
Since the muxer will operate in a separate thread in the future, the
muxer context should not be accessed from the outside.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index fdffa31cf0..cee5b1cbcf 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1507,9 +1507,9 @@ static void print_final_stats(int64_t total_size) uint64_t total_packets = 0, total_size = 0; av_log(NULL, AV_LOG_VERBOSE, "Output file #%d (%s):\n", - i, of->ctx->url); + i, of->url); - for (j = 0; j < of->ctx->nb_streams; j++) { + for (j = 0; j < of->nb_streams; j++) { OutputStream *ost = output_streams[of->ost_index + j]; enum AVMediaType type = ost->enc_ctx->codec_type; |