Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
858ef56297
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/thp.c

+ 0
- 1
libavformat/thp.c View File

@@ -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;


Loading…
Cancel
Save