]> git.sesse.net Git - ffmpeg/commitdiff
10l
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jun 2004 10:33:37 +0000 (10:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jun 2004 10:33:37 +0000 (10:33 +0000)
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 4b85da050e70a107296044731f27fe6efc514b52..59601d1aea9996868529c8f4dc70b83a605e8cd1 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1019,12 +1019,12 @@ static int output_packet(AVInputStream *ist, int ist_index,
     short samples[AVCODEC_MAX_AUDIO_FRAME_SIZE / 2];
     void *buffer_to_free;
     
-    if (pkt && pkt->pts != AV_NOPTS_VALUE) { //FIXME seems redundant, as libavformat does this too
+    if (pkt && pkt->dts != AV_NOPTS_VALUE) { //FIXME seems redundant, as libavformat does this too
         ist->next_pts = ist->pts = pkt->dts;
     } else {
         ist->pts = ist->next_pts;
     }
-    
+
     if (pkt == NULL) {
         /* EOF handling */
         ptr = NULL;