changeset 29489:228b323e90a7

Fix 100l broken flag check found due to compiler warning.
author reimar
date Mon, 17 Aug 2009 07:30:24 +0000
parents 6f7e97c44353
children 5b8f21404b19
files libmpdemux/demux_pva.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_pva.c	Mon Aug 17 06:14:12 2009 +0000
+++ b/libmpdemux/demux_pva.c	Mon Aug 17 07:30:24 2009 +0000
@@ -439,7 +439,7 @@
 				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;