diff options
Diffstat (limited to 'libavcodec/eatgv.c')
-rw-r--r-- | libavcodec/eatgv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c index 90e3ebf489..93a722ff25 100644 --- a/libavcodec/eatgv.c +++ b/libavcodec/eatgv.c @@ -237,8 +237,10 @@ static void cond_release_buffer(AVFrame *pic) static int tgv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - const uint8_t *buf, int buf_size) + AVPacket *avpkt) { + const uint8_t *buf = avpkt->data; + int buf_size = avpkt->size; TgvContext *s = avctx->priv_data; const uint8_t *buf_end = buf + buf_size; int chunk_type; |