AVFrame * frame = (AVFrame *)args;SS_Vdec_BufInfo *stVdecBuf = (SS_Vdec_BufInfo *)frame->opaque;
时间: 2024-01-17 14:07:59 浏览: 54
FFmpeg-master.zip_FFmpeg-master_ffmpeg_ffmpeg 播放
This code is casting a void pointer called "args" to an AVFrame pointer called "frame". It then casts the "opaque" field of the AVFrame to an SS_Vdec_BufInfo pointer called "stVdecBuf". The "opaque" field is a generic pointer that can be used to store custom data for the AVFrame. In this case, it is being used to store a structure of type SS_Vdec_BufInfo.
阅读全文