fftools/ffmpeg: reduce access to OutputStream.enc_ctx

It will be made private to Encoder in the future.
This commit is contained in:
Anton Khirnov
2023-04-20 09:06:25 +02:00
parent 5a04aae821
commit f4a60b8ddc
2 changed files with 4 additions and 5 deletions

View File

@@ -742,7 +742,7 @@ static void mux_final_stats(Muxer *mux)
av_log(of, AV_LOG_VERBOSE, " Output stream #%d:%d (%s): ",
of->index, j, av_get_media_type_string(type));
if (ost->enc_ctx) {
if (ost->enc) {
av_log(of, AV_LOG_VERBOSE, "%"PRIu64" frames encoded",
ost->frames_encoded);
if (type == AVMEDIA_TYPE_AUDIO)