h264_parser: Use ff_h264_reset_sei()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
pull/39/head
Yusuke Nakamura 11 years ago committed by Luca Barbato
parent 19f5384000
commit 103d073dd7
  1. 7
      libavcodec/h264_parser.c

@ -181,11 +181,8 @@ static inline int parse_nal_units(AVCodecParserContext *s,
s->key_frame = 0; s->key_frame = 0;
s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN; s->picture_structure = AV_PICTURE_STRUCTURE_UNKNOWN;
h->avctx = avctx; h->avctx = avctx;
h->sei_recovery_frame_cnt = -1; ff_h264_reset_sei(h);
h->sei_dpb_output_delay = 0;
h->sei_cpb_removal_delay = -1;
h->sei_buffering_period_present = 0;
if (!buf_size) if (!buf_size)
return 0; return 0;

Loading…
Cancel
Save