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
This commit is contained in:
rtogni 2007-11-17 18:08:53 +00:00
parent aa93e8e60d
commit de22a05645
1 changed files with 1 additions and 1 deletions

View File

@ -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);