diff options
Diffstat (limited to 'libavcodec/bitpacked_dec.c')
-rw-r--r-- | libavcodec/bitpacked_dec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/bitpacked_dec.c b/libavcodec/bitpacked_dec.c index 69fea9c366..fa554d99af 100644 --- a/libavcodec/bitpacked_dec.c +++ b/libavcodec/bitpacked_dec.c @@ -65,12 +65,11 @@ static int bitpacked_decode_yuv422p10(AVCodecContext *avctx, AVFrame *frame, { uint64_t frame_size = (uint64_t)avctx->width * (uint64_t)avctx->height * 20; uint64_t packet_size = (uint64_t)avpkt->size * 8; - ThreadFrame tframe = { .f = frame }; GetBitContext bc; uint16_t *y, *u, *v; int ret, i, j; - ret = ff_thread_get_buffer(avctx, &tframe, 0); + ret = ff_thread_get_buffer(avctx, frame, 0); if (ret < 0) return ret; |