]> git.sesse.net Git - ffmpeg/commit
mov: Rely on box type rather than file type for colr atom
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 23 Mar 2015 19:43:27 +0000 (19:43 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 9 Apr 2015 11:46:54 +0000 (13:46 +0200)
commitbe089af38f65dc8b1fe3564f98020fc815577edb
treeaed0408ca9a51ce1f28675c66557d08975cf090e
parentf8fd0c29ce5dc7d4be13e7e89d0f1e8a035ae71b
mov: Rely on box type rather than file type for colr atom

Although it's not allowed to use only allows 'nclc' in ISOM files, there
are samples that do not always respect this rule. This change prevents
atom overread and a spurious color range initialization.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavformat/mov.c