Commit c3794f39 authored by aurel's avatar aurel

matroskadec: invert a test

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14567 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fdf62aec
...@@ -1638,7 +1638,10 @@ matroska_read_header (AVFormatContext *s, ...@@ -1638,7 +1638,10 @@ matroska_read_header (AVFormatContext *s,
matroska_execute_seekhead(matroska); matroska_execute_seekhead(matroska);
/* Have we found a cluster? */ /* 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; MatroskaTrack *tracks = matroska->tracks.elem;
int i, j; int i, j;
AVStream *st; AVStream *st;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment