Mercurial > mplayer.hg
changeset 5435:508a4e7df349
10l... int/1000 will be int while we want float, so let's do int*0.001
author | arpi |
---|---|
date | Sun, 31 Mar 2002 21:08:15 +0000 |
parents | dc5b373cc604 |
children | 6f6082d9c8ba |
files | libmpdemux/demux_nuv.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_nuv.c Sun Mar 31 20:47:28 2002 +0000 +++ b/libmpdemux/demux_nuv.c Sun Mar 31 21:08:15 2002 +0000 @@ -174,7 +174,7 @@ /* 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 @@ 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;