FFmpeg/libavcodec
Andreas Rheinhardt c2a91645c5 mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description
If a sequence display extension is read with colour_description equal to
zero, but a user wants to add one or more of the colour_description
elements, then the colour_description elements the user did not explicitly
request to be set are set to zero and not to the value equal to
unknown/unspecified (namely 2). A value of zero is not only inappropriate,
but explicitly forbidden. This is fixed by inferring the right default
values during the reading process if the elements are absent; moreover,
changing any of the colour_description elements to zero is now no longer
possible.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2019-07-27 22:00:43 +01:00
..
2019-07-25 15:13:09 +01:00
2019-07-08 08:27:18 +02:00
2019-06-12 20:06:20 +10:00
2019-06-26 21:25:10 +02:00
2019-07-07 11:33:19 +02:00
2019-06-12 20:06:20 +10:00
2019-05-06 23:58:34 +02:00
2019-06-30 14:27:04 +02:00
2019-06-29 19:22:19 +02:00
2019-07-01 13:24:57 +08:00
2019-04-27 12:33:08 +02:00
2019-07-08 09:44:36 +02:00
2019-05-07 11:00:19 +08:00
2019-07-08 09:38:03 +02:00
2019-06-12 20:06:20 +10:00
2019-06-12 20:06:20 +10:00
2019-05-02 15:36:16 +02:00
2019-05-02 15:36:16 +02:00