[SCM] libav/experimental: flv use 32 bit pts

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:09 UTC 2013


The following commit has been merged in the experimental branch:
commit 19719bc631fe505e0d88489653c3b9ef75a520e8
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Fri May 23 21:47:30 2008 +0000

    flv use 32 bit pts
    
    Originally committed as revision 13267 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 6ebc415..3ff8868 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -239,7 +239,7 @@ static AVStream *create_stream(AVFormatContext *s, int is_audio){
     if (!st)
         return NULL;
     st->codec->codec_type = is_audio ? CODEC_TYPE_AUDIO : CODEC_TYPE_VIDEO;
-    av_set_pts_info(st, 24, 1, 1000); /* 24 bit pts in ms */
+    av_set_pts_info(st, 32, 1, 1000); /* 32 bit pts in ms */
     return st;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list