Module: libav Branch: release/12 Commit: 0cc75c845aa9568e7b310e3e58f2d2e476e78d9c
Author: John Stebbins <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Thu Feb 23 14:22:56 2017 -0700 h264dec: fix dropped initial SEI recovery point (cherry picked from commit 248dc5c1646dcdd96fe79761105c4ae889e711fd) Signed-off-by: Anton Khirnov <[email protected]> --- libavcodec/h264dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 62bb036..6c50ce3 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -449,7 +449,6 @@ void ff_h264_flush_change(H264Context *h) if (h->cur_pic_ptr) h->cur_pic_ptr->reference = 0; h->first_field = 0; - ff_h264_sei_uninit(&h->sei); h->recovery_frame = -1; h->frame_recovered = 0; } @@ -463,6 +462,7 @@ static void flush_dpb(AVCodecContext *avctx) memset(h->delayed_pic, 0, sizeof(h->delayed_pic)); ff_h264_flush_change(h); + ff_h264_sei_uninit(&h->sei); for (i = 0; i < H264_MAX_PICTURE_COUNT; i++) ff_h264_unref_picture(h, &h->DPB[i]); _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
