diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-06-01 14:41:53 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-06-01 14:41:53 +0000 |
commit | 934b910ba0d06eca9135455ccf835c62e0ba596c (patch) | |
tree | 381c1b1dbf6b6f474718334c10a83d94bd4ff461 /libavformat/matroskadec.c | |
parent | 7ff97085853ff8eb596eace6408cc657d02958c9 (diff) | |
download | ffmpeg-streaming-934b910ba0d06eca9135455ccf835c62e0ba596c.zip ffmpeg-streaming-934b910ba0d06eca9135455ccf835c62e0ba596c.tar.gz |
matroskadec: use the proper timestamp scaling for index entries
Originally committed as revision 13602 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index cff5d67..9424911 100644 --- 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); } } |