h264dec: do not export the chroma sample location immediately on parsing the SPS
authorAnton Khirnov <anton@khirnov.net>
Sat, 29 Jul 2017 20:03:55 +0000 (22:03 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 20 Mar 2020 08:16:05 +0000 (09:16 +0100)
commit6eae7e564482c70c785ceb33c8ad476c49f24e53
treed395a7978e1d73895f88f2dc1e54f873af0bc0c1
parentbdd31feec934bad07f5035250f9cb1ec5b571062
h264dec: do not export the chroma sample location immediately on parsing the SPS

This SPS is not necessarily the one that will be used. Export the chroma
location along with all the other SPS properties.
libavcodec/h264_ps.c
libavcodec/h264_ps.h
libavcodec/h264_slice.c
libavcodec/h264dec.c