matroskadec: fix reverted condition to accept combine_plane operation
This commit is contained in:
parent
384d10360b
commit
b44bbf908d
@ -1518,7 +1518,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
/* if we have virtual track, mark the real tracks */
|
/* if we have virtual track, mark the real tracks */
|
||||||
for (j=0; j < track->operation.combine_planes.nb_elem; j++) {
|
for (j=0; j < track->operation.combine_planes.nb_elem; j++) {
|
||||||
char buf[32];
|
char buf[32];
|
||||||
if (planes[j].type < MATROSKA_VIDEO_STEREO_PLANE_COUNT)
|
if (planes[j].type >= MATROSKA_VIDEO_STEREO_PLANE_COUNT)
|
||||||
continue;
|
continue;
|
||||||
snprintf(buf, sizeof(buf), "%s_%d",
|
snprintf(buf, sizeof(buf), "%s_%d",
|
||||||
matroska_video_stereo_plane[planes[j].type], i);
|
matroska_video_stereo_plane[planes[j].type], i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user