summaryrefslogtreecommitdiffstats
path: root/k9author
diff options
context:
space:
mode:
Diffstat (limited to 'k9author')
-rw-r--r--k9author/k9avidecode.cpp2
1 files changed, 1 insertions, 1 deletions
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; 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;
}