mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-12-19 01:17:09 +00:00
matroskadec: invert a test
Originally committed as revision 14567 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4348571b1a
commit
a636a56bf4
@ -1638,7 +1638,10 @@ matroska_read_header (AVFormatContext *s,
|
||||
matroska_execute_seekhead(matroska);
|
||||
|
||||
/* Have we found a cluster? */
|
||||
if (ebml_peek_id(matroska, NULL) == MATROSKA_ID_CLUSTER) {
|
||||
if (ebml_peek_id(matroska, NULL) != MATROSKA_ID_CLUSTER)
|
||||
return -1;
|
||||
|
||||
{
|
||||
MatroskaTrack *tracks = matroska->tracks.elem;
|
||||
int i, j;
|
||||
AVStream *st;
|
||||
|
Loading…
Reference in New Issue
Block a user