---
fftools/ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 9884e0c6c6..3ad432ff54 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -803,7 +803,7 @@ static void update_video_stats(OutputStream *ost, const
AVPacket *pkt, int write
static void enc_stats_write(OutputStream *ost, EncStats *es,
const AVFrame *frame, const AVPacket *pkt)
{
- AVIOContext *io = ost->enc_stats_pre.io;
+ AVIOContext *io = es->io;
AVRational tb = ost->enc_ctx->time_base;
int64_t pts = frame ? frame->pts : pkt->pts;
--
2.35.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".