mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avformat/utils: Remove obsolete todo
Also initialize the AVCodecContexts directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
f265374bc0
commit
3f991325b5
@ -5522,12 +5522,8 @@ int avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt,
|
||||
AVStream *ost, const AVStream *ist,
|
||||
enum AVTimebaseSource copy_tb)
|
||||
{
|
||||
//TODO: use [io]st->internal->avctx
|
||||
const AVCodecContext *dec_ctx;
|
||||
AVCodecContext *enc_ctx;
|
||||
|
||||
dec_ctx = ist->internal->avctx;
|
||||
enc_ctx = ost->internal->avctx;
|
||||
const AVCodecContext *const dec_ctx = ist->internal->avctx;
|
||||
AVCodecContext *const enc_ctx = ost->internal->avctx;
|
||||
|
||||
enc_ctx->time_base = ist->time_base;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user