[MPlayer-cvslog] r29531 - trunk/libmpdemux/demux_pva.c

reimar subversion at mplayerhq.hu
Mon Aug 17 09:30:25 CEST 2009


Author: reimar
Date: Mon Aug 17 09:30:24 2009
New Revision: 29531

Log:
Fix 100l broken flag check found due to compiler warning.

Modified:
   trunk/libmpdemux/demux_pva.c

Modified: trunk/libmpdemux/demux_pva.c
==============================================================================
--- trunk/libmpdemux/demux_pva.c	Mon Aug 17 08:14:12 2009	(r29530)
+++ trunk/libmpdemux/demux_pva.c	Mon Aug 17 09:30:24 2009	(r29531)
@@ -439,7 +439,7 @@ int pva_get_payload(demuxer_t * d,pva_pa
 				buffer[255]=stream_read_char(d->stream);
 				pes_head_len=stream_read_char(d->stream);
 				stream_read(d->stream,buffer,pes_head_len);
-				if(!buffer[255]&0x80) //PES header does not contain PTS.
+				if(!(buffer[255]&0x80)) //PES header does not contain PTS.
 				{
 					mp_msg(MSGT_DEMUX,MSGL_V,"Audio PES packet does not contain PTS. (pes_head_len=%d)\n",pes_head_len);
 					payload->pts=priv->last_audio_pts;


More information about the MPlayer-cvslog mailing list