diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2011-05-24 23:26:24 +0200 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2011-05-24 23:26:24 +0200 |
commit | b44bbf908d000808b2480cd6e8ca571cd3846fd2 (patch) | |
tree | b695a7fef9fd9135d26747f69741e4ddba631e9f /libavformat | |
parent | 384d10360b163e881e30483f2e5467ac53a356d6 (diff) | |
download | ffmpeg-b44bbf908d000808b2480cd6e8ca571cd3846fd2.tar.gz |
matroskadec: fix reverted condition to accept combine_plane operation
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index eca32773fe..569b95fbb2 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1518,7 +1518,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) /* if we have virtual track, mark the real tracks */ for (j=0; j < track->operation.combine_planes.nb_elem; j++) { char buf[32]; - if (planes[j].type < MATROSKA_VIDEO_STEREO_PLANE_COUNT) + if (planes[j].type >= MATROSKA_VIDEO_STEREO_PLANE_COUNT) continue; snprintf(buf, sizeof(buf), "%s_%d", matroska_video_stereo_plane[planes[j].type], i); |