diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-12 06:36:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-12 21:03:09 +0200 |
commit | ccd6911c189d2f974dcc4095c963dfad14d703d2 (patch) | |
tree | af9581f567817be451c6a4fd8b4618c77f6c77d5 /libavcodec/hevc.h | |
parent | 52fafaf4740b78174e9da0d2aaaf3dd93ab33d63 (diff) | |
download | ffmpeg-ccd6911c189d2f974dcc4095c963dfad14d703d2.tar.gz |
avcodec/hevc_ps: do not loose all reference to pointers still in use
Fixes leaving a pointer to unreferenced memory
Fixes Ticket 3115
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 5f964c3436..c044592a07 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -788,6 +788,8 @@ typedef struct HEVCContext { AVBufferRef *sps_list[MAX_SPS_COUNT]; AVBufferRef *pps_list[MAX_PPS_COUNT]; + AVBufferRef *current_sps; + AVBufferPool *tab_mvf_pool; AVBufferPool *rpl_tab_pool; |