diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 04:28:32 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-10 05:04:08 +0400 |
commit | 858ef562973756f7f445447806c61c4c63bbebd7 (patch) | |
tree | c80348e79f754672c2e066b0344806362f3443d9 | |
parent | dd3d0f46bdb0b9bd204159c67f522cd6f3db7e7c (diff) |
avformat/thp: do not set sample_rate for a video codec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/thp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/thp.c b/libavformat/thp.c index 568807d6f7..870a558a36 100644 --- a/libavformat/thp.c +++ b/libavformat/thp.c @@ -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; |