[FFmpeg-cvslog] r21994 - trunk/libavformat/bink.c

pross subversion
Tue Feb 23 12:01:51 CET 2010


Author: pross
Date: Tue Feb 23 12:01:51 2010
New Revision: 21994

Log:
Bink audio pts starts at 0, not reported_size

Modified:
   trunk/libavformat/bink.c

Modified: trunk/libavformat/bink.c
==============================================================================
--- trunk/libavformat/bink.c	Tue Feb 23 11:28:11 2010	(r21993)
+++ trunk/libavformat/bink.c	Tue Feb 23 12:01:51 2010	(r21994)
@@ -220,7 +220,8 @@ static int read_packet(AVFormatContext *
                                            != audio_size)
                 return ret;
             pkt->stream_index = bink->current_track;
-            pkt->pts = bink->audio_pts[bink->current_track - 1] += reported_size;
+            pkt->pts = bink->audio_pts[bink->current_track - 1];
+            bink->audio_pts[bink->current_track -1] += reported_size;
             return 0;
         }
     }



More information about the ffmpeg-cvslog mailing list