cbs_h264: Fix handling of auxiliary pictures
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Wed, 7 Nov 2018 03:47:51 +0000 (04:47 +0100)
committerMark Thompson <sw@jkqxz.net>
Thu, 8 Nov 2018 21:19:35 +0000 (21:19 +0000)
commit8d1cf2d89481ca986af893425188d065c0f8f857
tree4a2359193acb7d16df4c47873561c247aad311b6
parent36348d77b86a76041d09bbf876af6d267042b8bb
cbs_h264: Fix handling of auxiliary pictures

The earlier code used the most recent non-auxiliary slice to determine
whether an auxiliary slice has the syntax of an IDR slice, even when
the most recent slice was from a slice of a redundant frame. Now only
slices of the primary coded picture are used, as the specifications
mandate.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
libavcodec/cbs_h264_syntax_template.c