Commit 103d073d authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Luca Barbato

h264_parser: Use ff_h264_reset_sei()

Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
parent 19f53840
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment