diff options
Diffstat (limited to 'libavcodec/hapdec.c')
-rw-r--r-- | libavcodec/hapdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c index 4a7ac15a8e..1a0472d432 100644 --- a/libavcodec/hapdec.c +++ b/libavcodec/hapdec.c @@ -301,11 +301,10 @@ static int decompress_texture2_thread(AVCodecContext *avctx, void *arg, return decompress_texture_thread_internal(avctx, arg, slice, thread_nb, 1); } -static int hap_decode(AVCodecContext *avctx, void *data, +static int hap_decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) { HapContext *ctx = avctx->priv_data; - AVFrame *const frame = data; int ret, i, t; int section_size; enum HapSectionType section_type; |