From 68db2ce8a8c330a47485477eb3cee9e7036f6071 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 1 Aug 2011 21:35:27 +0000 Subject: [PATCH] Use AVMEDIA_TYPE_VIDEO instead of deprecated CODEC_TYPE_VIDEO git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1244326 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- k9author/k9avidecode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }