diff options
author | James Almer <jamrial@gmail.com> | 2017-01-26 19:28:09 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-01-26 19:28:19 -0300 |
commit | 1ae39429e4c4ed2d5bdf9452441930e4c54f258e (patch) | |
tree | bc21bef5ada46b39a824a71447e3c4d6fba2b0c7 /libavformat | |
parent | f3778108d3eb8e6e5fa77d645a79f75c703ff0bc (diff) | |
download | ffmpeg-1ae39429e4c4ed2d5bdf9452441930e4c54f258e.tar.gz |
avformat/matroskadec: ProjectionPrivate is optional on Equirectangular projections
This reflects a recent change to the spec draft.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 7e74348b2a..e6737a70b2 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1913,8 +1913,6 @@ static int mkv_parse_video_projection(AVStream *st, const MatroskaTrack *track) switch (track->video.projection.type) { case MATROSKA_VIDEO_PROJECTION_TYPE_EQUIRECTANGULAR: - if (track->video.projection.private.size < 4) - return AVERROR_INVALIDDATA; projection = AV_SPHERICAL_EQUIRECTANGULAR; break; case MATROSKA_VIDEO_PROJECTION_TYPE_CUBEMAP: |