changeset 645:9fc2d2cc4608 libavformat

wav timestamp truncation fix by (Wolfram Gloger <wmglo dent.med.uni-muenchen de>)
author michael
date Wed, 12 Jan 2005 18:42:21 +0000
parents 1bbcf7b444ae
children 8a1771970a3b
files wav.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/wav.c	Wed Jan 12 00:59:42 2005 +0000
+++ b/wav.c	Wed Jan 12 18:42:21 2005 +0000
@@ -201,6 +201,8 @@
     }
     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");