diff options
Diffstat (limited to 'stream/realrtsp/real.c')
-rw-r--r-- | stream/realrtsp/real.c | 2 |
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); |