diff --git a/cgo/ffmpeg/ffmpeg.c b/cgo/ffmpeg/ffmpeg.c index 8f429dd..7d72538 100644 --- a/cgo/ffmpeg/ffmpeg.c +++ b/cgo/ffmpeg/ffmpeg.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "ffmpeg.h" @@ -15,6 +16,9 @@ int decode(AVCodecContext *avctx, AVFrame *frame, uint8_t *data, int size, int * *got_frame = 0; + printf("avctx: %p", avctx) + printf("avctx->internal: %p", avctx->internal) + ret = avcodec_send_packet(avctx, &pkt); av_packet_unref(&pkt);