mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
fixed bug introduced with the addition of get_ext_stream_properties()
that should close bug #843, too. Patch by John Donaghy. Explanation: The issue is that get_ext_stream_properties shouldnt be returning false when no extended stream properties are found for the stream in question because that is not an error condition ... extended stream properties are optional. The only time this function should return false is when the buffer overrun checks fail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23823 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4fe092aa40
commit
72fedc8425
@ -288,7 +288,7 @@ static int get_ext_stream_properties(char *buf, int buf_len, int stream_num, str
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CHECKDEC(l, n) if (((l) -= (n)) < 0) return 0
|
#define CHECKDEC(l, n) if (((l) -= (n)) < 0) return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user