diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 4412b68b2c66a92e5a7cc835c23545d48fbb2f72..05a40c76d88dab45ba0bdff526b2387de7e63f7e 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -181,11 +181,8 @@ static inline int parse_nal_units(AVCodecParserContext *s, s->key_frame = 0; s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; - h->avctx = avctx; - h->sei_recovery_frame_cnt = -1; - h->sei_dpb_output_delay = 0; - h->sei_cpb_removal_delay = -1; - h->sei_buffering_period_present = 0; + h->avctx = avctx; + ff_h264_reset_sei(h); if (!buf_size) return 0;