Use av_packet_alloc() instead of av_init_packet()
sizeof(AVPacket) may be deprecated from ABI in the near future
This commit is contained in:
parent
c330898aeb
commit
96f79688dd
2 changed files with 17 additions and 16 deletions
|
|
@ -54,7 +54,7 @@ private:
|
|||
enum AVPixelFormat ffGetFormat(AVCodecContext* context,
|
||||
const enum AVPixelFormat* pixFmts);
|
||||
|
||||
AVPacket m_Pkt;
|
||||
AVPacket* m_Pkt;
|
||||
AVCodecContext* m_VideoDecoderCtx;
|
||||
QByteArray m_DecodeBuffer;
|
||||
const AVCodecHWConfig* m_HwDecodeCfg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue