OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff9708
)
matroskadec: use the proper timestamp scaling for index entries
author
Aurelien Jacobs
<aurel@gnuage.org>
Sun, 1 Jun 2008 14:41:53 +0000
(14:41 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Sun, 1 Jun 2008 14:41:53 +0000
(14:41 +0000)
Originally committed as revision 13602 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
cff5d67
..
9424911
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-2692,7
+2692,7
@@
matroska_read_header (AVFormatContext *s,
stream = matroska->tracks[track]->stream_index;
if (stream >= 0 && stream < matroska->ctx->nb_streams)
av_add_index_entry(matroska->ctx->streams[stream],
- idx->pos, idx->time/
matroska->time_scale
,
+ idx->pos, idx->time/
AV_TIME_BASE
,
0, 0, AVINDEX_KEYFRAME);
}
}