提交 43e0ddd3 编写于 作者: S Steven Liu

avformat/dashdec: simplified code in open_demux_for_component

change from pls->ctx->streams[i]->codecpar to ist->codecpar
Signed-off-by: NSteven Liu <lq@onvideo.cn>
上级 664a27ea
......@@ -1978,7 +1978,7 @@ static int open_demux_for_component(AVFormatContext *s, struct representation *p
goto fail;
}
st->id = i;
avcodec_parameters_copy(st->codecpar, pls->ctx->streams[i]->codecpar);
avcodec_parameters_copy(st->codecpar, ist->codecpar);
avpriv_set_pts_info(st, ist->pts_wrap_bits, ist->time_base.num, ist->time_base.den);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册