diff options
author | James Almer <jamrial@gmail.com> | 2016-12-04 23:22:39 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-12-10 21:05:21 -0300 |
commit | 4e759072c2162bf884665ff65e4c1a3e0eeef075 (patch) | |
tree | 03bae0f46c80d52d9304abd84cbbca4c36939d1f /libavcodec/mpc.c | |
parent | 1f3910262e1b9091f597ebbb710b478d40319986 (diff) | |
download | ffmpeg-4e759072c2162bf884665ff65e4c1a3e0eeef075.tar.gz |
avformat/matroskadec: allocate Colour related fields only if the file contains the relevant master
The demuxer doesn't fill the defaults if the master isn't present.
This results in codecpar->color_space being set with a value of
zero (RGB) on such files.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpc.c')
0 files changed, 0 insertions, 0 deletions