avformat/mov: Add simple ACLR atom reading to set the color range of the incomming...
authorKevin Wheatley <kevin.j.wheatley@gmail.com>
Thu, 19 Feb 2015 11:08:14 +0000 (11:08 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Feb 2015 14:42:55 +0000 (15:42 +0100)
commitfb3fb1d0d4bb21edcb1f9d932987eceeabe7f675
tree47e2aab964c5ac7b33621adbd0f0c19c63c2979a
parent2280552057bb85b7fa6bd435ffd1c8888203fa30
avformat/mov: Add simple ACLR atom reading to set the color range of the incomming track for codec's like DNxHD that utilise AVID's proprietary atom.

On input ACLR will be used to set colour range no matter which codec
it is associated with.
No change for when it will be output.

Rework mov_read_extradata function to allow detection of truncated
atom reads by callers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c