[FFmpeg-soc] [soc]: r4580 - concat/libavformat/m3u.c

gkovacs subversion at mplayerhq.hu
Sat Jul 4 09:35:24 CEST 2009


Author: gkovacs
Date: Sat Jul  4 09:35:24 2009
New Revision: 4580

Log:
setting pts equal to dts rather than offsetting since pts isn't correctly set on mpeg4 asp on avi

Modified:
   concat/libavformat/m3u.c

Modified: concat/libavformat/m3u.c
==============================================================================
--- concat/libavformat/m3u.c	Sat Jul  4 09:25:21 2009	(r4579)
+++ concat/libavformat/m3u.c	Sat Jul  4 09:35:24 2009	(r4580)
@@ -122,7 +122,7 @@ static int m3u_read_packet(AVFormatConte
         if (pkt) {
             int64_t time_offset = ff_conv_stream_time(ic, pkt->stream_index, playld->time_offsets[pkt->stream_index]);
             pkt->dts += time_offset;
-            pkt->pts += time_offset;
+            pkt->pts = pkt->dts;
         }
     }
     // TODO switch from AVERROR_EOF to AVERROR_EOS


More information about the FFmpeg-soc mailing list