Commit b62c65f2 authored by Peter Ross's avatar Peter Ross

Bink audio pts starts at 0, not reported_size

Originally committed as revision 21994 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c8c77d8d
......@@ -220,7 +220,8 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
!= 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;
}
}
......
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