From 2351ba0ebe37cbb933cee9d7a3b2633a6b061cb3 Mon Sep 17 00:00:00 2001 From: "Baik S. Hyun" Date: Tue, 29 Jun 2021 17:53:00 +0900 Subject: [PATCH] add debug msg --- cgo/ffmpeg/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgo/ffmpeg/ffmpeg.c b/cgo/ffmpeg/ffmpeg.c index 4566d8c..0737fc1 100644 --- a/cgo/ffmpeg/ffmpeg.c +++ b/cgo/ffmpeg/ffmpeg.c @@ -16,7 +16,7 @@ int decode(AVCodecContext *avctx, AVFrame *frame, uint8_t *data, int size, int * *got_frame = 0; - printf("avctx: %p\n", avctx); + printf("avctx: %p, data: %p, size: %d\n", avctx, data, size); printf("avctx->internal: %p->%p\n", avctx, avctx->internal); ret = avcodec_send_packet(avctx, &pkt);