[FFmpeg-devel] [PATCH 0/1] cbs_h264: Fix handling of auxiliary picture

Andreas Rheinhardt andreas.rheinhardt at googlemail.com
Wed Nov 7 05:47:50 EET 2018

Currently, the IdrPicFlag of an auxiliary coded picture is inferred
from the most recent slice of a non-auxiliary coded picture, regardless
of whether said slice is part of the primary coded picture or a
redundant coded picture. This is against the specifications which say
that IdrPicFlag should be derived from the primary coded picture.

Notice that an access unit can very well have an IDR picture as primary
picture and a non-IDR picture as redundant coded picture, namely if the
redundant coded picture contains a memory_management_control_operation
equal to 5. See NOTE 8 in the semantics of redundant_pic_cnt. I
unfortunately have no sample for this.

Andreas Rheinhardt (1):
  cbs_h264: Fix handling of auxiliary pictures

 libavcodec/cbs_h264_syntax_template.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)


More information about the ffmpeg-devel mailing list