Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x

This commit is contained in:
Andreas Cadhalpun
2016-06-01 10:32:35 +01:00
committed by Robert Osfield
parent 5a4a5c3507
commit e85d574334
4 changed files with 26 additions and 31 deletions

View File

@@ -94,8 +94,8 @@ private:
int src_pix_fmt, int src_width, int src_height);
static int getBuffer(AVCodecContext * context, AVFrame * picture);
static void releaseBuffer(AVCodecContext * context, AVFrame * picture);
static int getBuffer(AVCodecContext * context, AVFrame * picture, int flags);
static void freeBuffer(void * opaque, uint8_t *data);
PacketQueue & m_packets;
FFmpegClocks & m_clocks;