git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dd3d0f4
)
avformat/thp: do not set sample_rate for a video codec
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Nov 2013 00:28:32 +0000
(
01:28
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Nov 2013 01:04:08 +0000
(
02:04
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/thp.c
patch
|
blob
|
history
diff --git
a/libavformat/thp.c
b/libavformat/thp.c
index
568807d
..
870a558
100644
(file)
--- 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;