Commit 858ef562 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment