mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +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,
|
AVStream *ost, const AVStream *ist,
|
||||||
enum AVTimebaseSource copy_tb)
|
enum AVTimebaseSource copy_tb)
|
||||||
{
|
{
|
||||||
//TODO: use [io]st->internal->avctx
|
const AVCodecContext *const dec_ctx = ist->internal->avctx;
|
||||||
const AVCodecContext *dec_ctx;
|
AVCodecContext *const enc_ctx = ost->internal->avctx;
|
||||||
AVCodecContext *enc_ctx;
|
|
||||||
|
|
||||||
dec_ctx = ist->internal->avctx;
|
|
||||||
enc_ctx = ost->internal->avctx;
|
|
||||||
|
|
||||||
enc_ctx->time_base = ist->time_base;
|
enc_ctx->time_base = ist->time_base;
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user