summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 21:08:15 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 21:08:15 +0000
commit69c5d80089dfa6739d22e7cf86f56766d5037369 (patch)
tree6b93c208ec51a99ba6f7f81790a642ac300d6fcd /libmpdemux
parentfce2e3fd08f2caabc1ebf1d0d7ca11dd3a5905b3 (diff)
downloadmpv-69c5d80089dfa6739d22e7cf86f56766d5037369.tar.bz2
mpv-69c5d80089dfa6739d22e7cf86f56766d5037369.tar.xz
10l... int/1000 will be int while we want float, so let's do int*0.001
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5436 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_nuv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_nuv.c b/libmpdemux/demux_nuv.c
index 40897a55f0..d4cb357641 100644
--- a/libmpdemux/demux_nuv.c
+++ b/libmpdemux/demux_nuv.c
@@ -174,7 +174,7 @@ int demux_nuv_fill_buffer ( demuxer_t *demuxer )
/* put RTjpeg tables, Video info to video buffer */
stream_seek ( demuxer->stream, orig_pos );
ds_read_packet ( demuxer->video, demuxer->stream, rtjpeg_frameheader.packetlength + 12,
- rtjpeg_frameheader.timecode / 1000, orig_pos, 0 );
+ rtjpeg_frameheader.timecode*0.001, orig_pos, 0 );
} else
@@ -185,7 +185,7 @@ int demux_nuv_fill_buffer ( demuxer_t *demuxer )
priv->current_audio_frame++;
/* put Audio to audio buffer */
ds_read_packet ( demuxer->audio, demuxer->stream, rtjpeg_frameheader.packetlength,
- rtjpeg_frameheader.timecode / 1000, orig_pos + 12, 0 );
+ rtjpeg_frameheader.timecode*0.001, orig_pos + 12, 0 );
}
return 1;