diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-24 18:58:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-01-28 10:52:48 +0100 |
commit | a3fc9fb9fbc0c7154d874cc6740345bfc0102282 (patch) | |
tree | 899956ba264c898f52878b12442de30dfc8800f0 /libavcodec/hapenc.c | |
parent | 8f791304f2e7bc70d6d6c404301a5c3a1de7da57 (diff) | |
download | ffmpeg-a3fc9fb9fbc0c7154d874cc6740345bfc0102282.tar.gz |
avcodec/texturedsp: Add separate TextureDSPEncContext
ff_texturedspenc_init() doesn't support most of the function types
supported for decoding; add a separate context containing only pointers
for the actually supported types.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hapenc.c')
-rw-r--r-- | libavcodec/hapenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hapenc.c b/libavcodec/hapenc.c index 2c8bc8e16a..92cd9c4d31 100644 --- a/libavcodec/hapenc.c +++ b/libavcodec/hapenc.c @@ -232,7 +232,7 @@ static int hap_encode(AVCodecContext *avctx, AVPacket *pkt, static av_cold int hap_init(AVCodecContext *avctx) { HapContext *ctx = avctx->priv_data; - TextureDSPContext dxtc; + TextureDSPEncContext dxtc; int corrected_chunk_count; int ret = av_image_check_size(avctx->width, avctx->height, 0, avctx); |