summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-01 21:35:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-01 21:35:27 +0000
commit68db2ce8a8c330a47485477eb3cee9e7036f6071 (patch)
tree904870d246306a362b3d8273baa00cd2f063013d
parenta0685ac44c4065a1030dd1de3fc4d407df688f3b (diff)
downloadk9copy-68db2ce8a8c330a47485477eb3cee9e7036f6071.tar.gz
k9copy-68db2ce8a8c330a47485477eb3cee9e7036f6071.zip
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
-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;
}