diff options
Diffstat (limited to 'k9author')
-rw-r--r-- | k9author/k9avidecode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/k9author/k9avidecode.cpp b/k9author/k9avidecode.cpp index 107f9ae..ff380d5 100644 --- a/k9author/k9avidecode.cpp +++ b/k9author/k9avidecode.cpp @@ -216,7 +216,7 @@ void k9AviDecode::readFrame(double _seconds) { // Is this a packet from the video stream? if (packet->stream_index==m_videoStream) { // Decode video frame -#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 37, 100) +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 106, 100) int ret = avcodec_receive_frame(m_CodecCtx, m_Frame); if (ret == 0) frameFinished = 1; @@ -300,7 +300,7 @@ void k9AviDecode::close() { av_close_input_file(m_FormatCtx); #endif -#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 63, 100) +#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 33, 100) avcodec_free_context(&m_CodecCtx); #endif |