]> git.sesse.net Git - ffmpeg/commit
av1/h264_metadata: Don't reinitialize data
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 19 Jun 2019 23:45:14 +0000 (01:45 +0200)
committerMark Thompson <sw@jkqxz.net>
Sun, 28 Jul 2019 17:23:07 +0000 (18:23 +0100)
commit43a188847cce63326c932b5226bb925f75df300e
treead24e9e9b7cfffb2d5cb60e9e0141a53b6711e30
parentd9182f04caa59c3ba2659981183238ada340f814
av1/h264_metadata: Don't reinitialize data

If the relevant elements (the color description elements for AV1 and the
VUI elements in general for H.264 (since 1156b507)) are absent, then their
correct values (usually meaning unknown) have already been inferred by
the reading process, so that it is unnecessary to initialize them again
in the av1/h264_metadata filters even when they were initially absent.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/av1_metadata_bsf.c
libavcodec/h264_metadata_bsf.c