Remove inaccurate computation of pts for audio packets and rely on

libavformat to generate them.
patch by Gregory Montoir, cyx users sourceforge net

Originally committed as revision 14085 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Gregory Montoir 2008-07-06 10:00:12 +00:00 committed by Diego Biurrun
parent ce83d48b22
commit ca3ed63e15

View File

@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
return rc;
pkt->stream_index = seq->audio_stream_index;
pkt->pts = seq->current_frame_pts++;
seq->current_frame_pts++;
seq->audio_buffer_full = 0;
return 0;