[FFmpeg-cvslog] aud: set pts_wrap_bits to 64.

Justin Ruggles git at videolan.org
Tue Jan 24 23:12:54 CET 2012


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Jan 24 11:28:02 2012 -0500| [0e6a8b5cf76f830923c85730e6369ca46cfe834c] | committer: Justin Ruggles

aud: set pts_wrap_bits to 64.

Time stamps are not read from the bitstream, so no wrapping is needed.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e6a8b5cf76f830923c85730e6369ca46cfe834c
---

 libavformat/westwood_aud.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c
index 21d16f7..27dc3fa 100644
--- a/libavformat/westwood_aud.c
+++ b/libavformat/westwood_aud.c
@@ -117,7 +117,7 @@ static int wsaud_read_header(AVFormatContext *s,
     st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
-    avpriv_set_pts_info(st, 33, 1, wsaud->audio_samplerate);
+    avpriv_set_pts_info(st, 64, 1, wsaud->audio_samplerate);
     st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
     st->codec->codec_id = wsaud->audio_type;
     st->codec->codec_tag = 0;  /* no tag */



More information about the ffmpeg-cvslog mailing list