[Mplayer-cvslog] CVS: main/libmpdemux demux_nuv.c,1.5,1.6
Arpi of Ize
arpi at mplayer.dev.hu
Sun Mar 31 23:08:18 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv31429
Modified Files:
demux_nuv.c
Log Message:
10l... int/1000 will be int while we want float, so let's do int*0.001
Index: demux_nuv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_nuv.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- demux_nuv.c 9 Jan 2002 17:09:21 -0000 1.5
+++ demux_nuv.c 31 Mar 2002 21:08:15 -0000 1.6
@@ -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;
More information about the MPlayer-cvslog
mailing list