aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9shared.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-06 13:59:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-11-01 20:14:06 +0100
commit8c0350f57ef4c5f7ff4ec56865029e30cbf2877e (patch)
tree7f923711862b5b1698eee2953434cf015fa26425 /libavcodec/vp9shared.h
parent090d9956fd092023e63f61a37bde36bba55d0258 (diff)
downloadffmpeg-8c0350f57ef4c5f7ff4ec56865029e30cbf2877e.tar.gz
avcodec/vp9: Use RefStruct-pool API for extradata
It avoids allocations and corresponding error checks. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vp9shared.h')
-rw-r--r--libavcodec/vp9shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9shared.h b/libavcodec/vp9shared.h
index e54f23544e..b445a2a746 100644
--- a/libavcodec/vp9shared.h
+++ b/libavcodec/vp9shared.h
@@ -64,7 +64,7 @@ typedef struct VP9mvrefPair {
typedef struct VP9Frame {
ThreadFrame tf;
- AVBufferRef *extradata;
+ void *extradata; ///< RefStruct reference
uint8_t *segmentation_map;
VP9mvrefPair *mv;
int uses_2pass;