aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream/realrtsp
diff options
context:
space:
mode:
authorGravatar rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-17 18:08:53 +0000
committerGravatar rtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-17 18:08:53 +0000
commitde22a05645cf126c80b809119e878680b6b66a71 (patch)
treedfe8085fe1b571d2e049984b09915d164d2f50b8 /stream/realrtsp
parentaa93e8e60d285569480d3c6add92bffcf57a4388 (diff)
Ignore stream id when checking rdt packet flags
Fixes bugzilla #930 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25063 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/realrtsp')
-rw-r--r--stream/realrtsp/real.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/realrtsp/real.c b/stream/realrtsp/real.c
index da5c5924a3..f55d6c16e4 100644
--- a/stream/realrtsp/real.c
+++ b/stream/realrtsp/real.c
@@ -333,7 +333,7 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer, int rdt_rawdata) {
/* 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);