aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>2013-10-14 19:22:42 +0000
committerLuca Barbato <lu_zero@gentoo.org>2013-10-22 10:55:22 +0200
commit103d073dd7ce23b912df32be8c9524ba25dd5991 (patch)
tree66726a23a1d97c584f84ecf04a9c60edb4508b04
parent19f53840001a7afcdb57b2a797e363ec8081aba3 (diff)
downloadffmpeg-103d073dd7ce23b912df32be8c9524ba25dd5991.tar.gz
h264_parser: Use ff_h264_reset_sei()
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavcodec/h264_parser.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 4412b68b2c..05a40c76d8 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;