diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 10:33:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 10:33:37 +0000 |
commit | ff9068884492c76e3fbf146dfb34d1eed26224e7 (patch) | |
tree | 6bf8ca8c21af1941f81066f556c48c1e9414633d | |
parent | 13100292d394cf7d42414784ab195328863cfd2e (diff) | |
download | ffmpeg-ff9068884492c76e3fbf146dfb34d1eed26224e7.tar.gz |
10l
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |