[MPlayer-cvslog] CVS: main/libmpdemux muxer_mpeg.c,1.45,1.46
Nico Sabbi CVS
syncmail at mplayerhq.hu
Thu Apr 20 22:44:45 CEST 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv7517
Modified Files:
muxer_mpeg.c
Log Message:
fixed wrong operator precedence in parse_mpeg4_video()
Index: muxer_mpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_mpeg.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- muxer_mpeg.c 20 Apr 2006 20:38:09 -0000 1.45
+++ muxer_mpeg.c 20 Apr 2006 20:44:43 -0000 1.46
@@ -2139,7 +2139,7 @@
delta = vpriv->picture.timeinc_unit - vpriv->last_tr;
if((delta > 0) && (delta > (vpriv->picture.timeinc_resolution/2)))
delta -= vpriv->picture.timeinc_resolution;
- else if((delta < 0) && (delta < (-vpriv->picture.timeinc_resolution/2)))
+ else if((delta < 0) && (delta < (-(vpriv->picture.timeinc_resolution/2))))
delta += vpriv->picture.timeinc_resolution;
delta_pts = (27000000 * (int64_t) delta) / vpriv->picture.timeinc_resolution;
More information about the MPlayer-cvslog
mailing list