diff --git a/k9author/k9avidecode.cpp b/k9author/k9avidecode.cpp index 22019b4..979cedb 100644 --- a/k9author/k9avidecode.cpp +++ b/k9author/k9avidecode.cpp @@ -118,7 +118,7 @@ bool k9AviDecode::open(const TQString & _fileName) { // Find the first video stream m_videoStream=-1; for (i=0; inb_streams; i++) - if (m_FormatCtx->streams[i]->codec->codec_type==CODEC_TYPE_VIDEO) { + if (m_FormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO) { m_videoStream=i; break; }