projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c77d8
)
Bink audio pts starts at 0, not reported_size
author
Peter Ross
<pross@xvid.org>
Tue, 23 Feb 2010 11:01:51 +0000
(11:01 +0000)
committer
Peter Ross
<pross@xvid.org>
Tue, 23 Feb 2010 11:01:51 +0000
(11:01 +0000)
Originally committed as revision 21994 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/bink.c
patch
|
blob
|
history
diff --git
a/libavformat/bink.c
b/libavformat/bink.c
index
2d4a2dd
..
e75bacd
100644
(file)
--- a/
libavformat/bink.c
+++ b/
libavformat/bink.c
@@
-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;
}
}