OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41c1fa
)
wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 12 Jan 2005 18:42:21 +0000
(18:42 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 12 Jan 2005 18:42:21 +0000
(18:42 +0000)
Originally committed as revision 3831 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
f2bb503
..
4534cdf
100644
(file)
--- a/
libavformat/wav.c
+++ b/
libavformat/wav.c
@@
-201,6
+201,8
@@
static int wav_write_header(AVFormatContext *s)
}
end_tag(pb, fmt);
+ av_set_pts_info(s->streams[0], 64, 1, s->streams[0]->codec.sample_rate);
+
/* data header */
wav->data = start_tag(pb, "data");