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
v3.5.13-sru
tpearson 14 years ago
parent a0685ac44c
commit 68db2ce8a8

@ -118,7 +118,7 @@ bool k9AviDecode::open(const TQString & _fileName) {
// Find the first video stream // Find the first video stream
m_videoStream=-1; m_videoStream=-1;
for (i=0; i<m_FormatCtx->nb_streams; i++) 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; m_videoStream=i;
break; break;
} }

Loading…
Cancel
Save