diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-06 13:59:20 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-11-01 20:14:06 +0100 |
commit | 8c0350f57ef4c5f7ff4ec56865029e30cbf2877e (patch) | |
tree | 7f923711862b5b1698eee2953434cf015fa26425 /libavcodec/vp9shared.h | |
parent | 090d9956fd092023e63f61a37bde36bba55d0258 (diff) | |
download | ffmpeg-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.h | 2 |
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; |