mirror of https://github.com/mpv-player/mpv
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:
parent
aa93e8e60d
commit
de22a05645
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue