summaryrefslogtreecommitdiff
blob: c7a772525ba271852c2de37f5f0bc6c637c2f321 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/import/k9avidecode.cpp
+++ src/import/k9avidecode.cpp
@@ -145,7 +145,7 @@ bool k9AviDecode::open(const QString & _
 // Find the first video stream
     m_videoStream=-1;
     for (i=0; i<m_FormatCtx->nb_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;
         }