mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fftools/ffmpeg: use correct IO context for -enc_stats_post
This commit is contained in:
parent
5c36f4ef84
commit
61afbc2376
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user