changeset 25035:bcc90b2bc09f

Ignore stream id when checking rdt packet flags Fixes bugzilla #930
author rtogni
date Sat, 17 Nov 2007 18:08:53 +0000
parents 6cde6c8094da
children 1bc77e1220f3
files stream/realrtsp/real.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/realrtsp/real.c	Sat Nov 17 17:28:33 2007 +0000
+++ b/stream/realrtsp/real.c	Sat Nov 17 18:08:53 2007 +0000
@@ -333,7 +333,7 @@
   /* header[1] is channel, normally 0, ignored */
   size=(header[2]<<8)+header[3];
   flags1=header[4];
-  if ((flags1!=0x40)&&(flags1!=0x42)&&(flags1!=0x41))
+  if ((flags1 & 0xc0) != 0x40)
   {
 #ifdef LOG
     printf("got flags1: 0x%02x\n",flags1);