Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 1b14541f2b2e532744f1445dfa7ae2a50a784e94 Mon Sep 17 00:00:00 2001
- From: Hendrik Leppkes <h.leppkes@gmail.com>
- Date: Sat, 18 Jun 2016 12:27:38 +0200
- Subject: [PATCH] h264_sei: don't reset the x264 build info once read
- ---
- libavcodec/h264.c | 1 +
- libavcodec/h264_sei.c | 1 -
- 2 files changed, 1 insertion(+), 1 deletion(-)
- diff --git a/libavcodec/h264.c b/libavcodec/h264.c
- index 5413668..307344a 100644
- --- a/libavcodec/h264.c
- +++ b/libavcodec/h264.c
- @@ -434,6 +434,7 @@ static int h264_init_context(AVCodecContext *avctx, H264Context *h)
- h->frame_recovered = 0;
- h->poc.prev_frame_num = -1;
- h->sei.frame_packing.frame_packing_arrangement_cancel_flag = -1;
- + h->sei.unregistered.x264_build = -1;
- h->next_outputed_poc = INT_MIN;
- for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
- diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
- index d37cff7..d0596dc 100644
- --- a/libavcodec/h264_sei.c
- +++ b/libavcodec/h264_sei.c
- @@ -38,7 +38,6 @@ static const uint8_t sei_num_clock_ts_table[9] = {
- void ff_h264_sei_uninit(H264SEIContext *h)
- {
- - h->unregistered.x264_build = -1;
- h->recovery_point.recovery_frame_cnt = -1;
- h->picture_timing.dpb_output_delay = 0;
- --
- 2.7.2.windows.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement