提交 103d073d 编写于 作者: Y Yusuke Nakamura 提交者: Luca Barbato

h264_parser: Use ff_h264_reset_sei()

Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
上级 19f53840
......@@ -182,10 +182,7 @@ static inline int parse_nal_units(AVCodecParserContext *s,
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;
ff_h264_reset_sei(h);
if (!buf_size)
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册