提交 858ef562 编写于 作者: M Michael Niedermayer

avformat/thp: do not set sample_rate for a video codec

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 dd3d0f46
......@@ -109,7 +109,6 @@ static int thp_read_header(AVFormatContext *s)
st->codec->codec_tag = 0; /* no fourcc */
st->codec->width = avio_rb32(pb);
st->codec->height = avio_rb32(pb);
st->codec->sample_rate = av_q2d(thp->fps);
st->nb_frames =
st->duration = thp->framecnt;
thp->vst = st;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册