diff options
Diffstat (limited to 'libavcodec/cscd.c')
-rw-r--r-- | libavcodec/cscd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/cscd.c b/libavcodec/cscd.c index 9379b2c7f3..5fe097712d 100644 --- a/libavcodec/cscd.c +++ b/libavcodec/cscd.c @@ -135,7 +135,9 @@ static void add_frame_32(AVFrame *f, const uint8_t *src, #endif static int 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; CamStudioContext *c = avctx->priv_data; AVFrame *picture = data; |