[FFmpeg-cvslog] r12949 - trunk/libavformat/flvdec.c

bcoudurier subversion
Fri Apr 25 11:08:13 CEST 2008


Author: bcoudurier
Date: Fri Apr 25 11:08:13 2008
New Revision: 12949

Log:
pts are unsigned according to specs, fix negative pts when 32bit pts are used

Modified:
   trunk/libavformat/flvdec.c

Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c	(original)
+++ trunk/libavformat/flvdec.c	Fri Apr 25 11:08:13 2008
@@ -280,7 +280,8 @@ static int flv_read_header(AVFormatConte
 
 static int flv_read_packet(AVFormatContext *s, AVPacket *pkt)
 {
-    int ret, i, type, size, pts, flags, is_audio, next, pos;
+    int ret, i, type, size, flags, is_audio, next, pos;
+    unsigned pts;
     AVStream *st = NULL;
 
  for(;;){




More information about the ffmpeg-cvslog mailing list