summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-05-12 16:36:41 +0200
committerAnton Khirnov <anton@khirnov.net>2017-05-20 09:41:30 +0200
commitc3f0357bdf7d3c542aad2c58b94184b9f56edc41 (patch)
tree474d0e74b585fafe784c8d98006eaf6876415f48 /libavcodec/hevcdec.h
parentd7dcd825dea3681c69a35b3147a3b42f1bf078dd (diff)
hevcdec: move the MD5 context out of HEVCSEIPictureHash back into HEVCContext
HEVCSEIPictureHash should store only the information extracted from the bitstream and exported to the higher layer (the decoder or the parser). The MD5 context is allocated, used and freed by this higher layer, so it makes more sense for it to also be stored there.
Diffstat (limited to 'libavcodec/hevcdec.h')
-rw-r--r--libavcodec/hevcdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index f2c589217f..7adb826e72 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -27,6 +27,7 @@
#include <stdint.h>
#include "libavutil/buffer.h"
+#include "libavutil/md5.h"
#include "avcodec.h"
#include "bswapdsp.h"
@@ -462,6 +463,7 @@ typedef struct HEVCContext {
HEVCParamSets ps;
HEVCSEI sei;
+ struct AVMD5 *md5_ctx;
AVBufferPool *tab_mvf_pool;
AVBufferPool *rpl_tab_pool;