diff options
author | Will Kelleher <wkelleher@gogoair.com> | 2016-04-07 08:58:31 -0500 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-15 01:30:53 +0200 |
commit | 964f07f68e1cc4e2d585615e2b1a1fade269afb0 (patch) | |
tree | 5a04e3ce7977e8bf132cd94cc44ad4758cdfd621 /libavcodec/hevc.h | |
parent | 6543a72fcefca574691a65ba7b80c1f190eaba1e (diff) | |
download | ffmpeg-964f07f68e1cc4e2d585615e2b1a1fade269afb0.tar.gz |
hevc: Fix memory leak related to a53_caption data
Signed-off-by: Will Kelleher <wkelleher@gogoair.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index f44fa492ce..be91010378 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -1054,6 +1054,15 @@ void ff_hevc_hls_mvd_coding(HEVCContext *s, int x0, int y0, int log2_cb_size); int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size); +/** + * Reset SEI values that are stored on the Context. + * e.g. Caption data that was extracted during NAL + * parsing. + * + * @param s HEVCContext. + */ +void ff_hevc_reset_sei(HEVCContext *s); + extern const uint8_t ff_hevc_qpel_extra_before[4]; extern const uint8_t ff_hevc_qpel_extra_after[4]; extern const uint8_t ff_hevc_qpel_extra[4]; |