Commit cbc9090c authored by diego's avatar diego

Remove inaccurate computation of pts for audio packets and rely on

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14085 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 830d2b2f
...@@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -285,7 +285,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
return rc; return rc;
pkt->stream_index = seq->audio_stream_index; pkt->stream_index = seq->audio_stream_index;
pkt->pts = seq->current_frame_pts++; seq->current_frame_pts++;
seq->audio_buffer_full = 0; seq->audio_buffer_full = 0;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment