Ffmpeg output decoding yuv picture is like this
Av_init_packet (& amp; Packet);
Packet data=https://bbs.csdn.net/topics/h264Data.data;
Packet. Size=h264Data. Len;
Int send_packet_ret=avcodec_send_packet (m_pCodecCtx, & amp; Packet);
Int recv_frame_ret=avcodec_receive_frame (m_pCodecCtx pYUVFrame);