[SCM] libav/experimental: timestamp truncation fix?

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:42 UTC 2013


The following commit has been merged in the experimental branch:
commit 3eaa8b7e3853e4fea7c5457e05afbbb0afd3a04e
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Wed Jan 12 19:07:24 2005 +0000

    timestamp truncation fix?
    
    Originally committed as revision 3832 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index ca7a6dc..2b3bbbe 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -409,7 +409,7 @@ static int avi_write_header(AVFormatContext *s)
             parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale);
             put_le32(pb, au_scale); /* scale */
             put_le32(pb, au_byterate); /* rate */
-//            av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate);
+            av_set_pts_info(&s->streams[i], 64, au_scale, au_byterate);
             put_le32(pb, 0); /* start */
             avi->frames_hdr_strm[i] = url_ftell(pb); /* remember this offset to fill later */
             put_le32(pb, 0); /* length, XXX: filled later */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list