Browse Source

Bink audio pts starts at 0, not reported_size

Originally committed as revision 21994 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Peter Ross 15 years ago
parent
commit
b62c65f23e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/bink.c

+ 2
- 1
libavformat/bink.c View File

@@ -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;
}
}


Loading…
Cancel
Save