--- ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp.ffmpeg 2011-06-24 07:20:23.000000000 +0200 +++ ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp 2011-06-24 07:20:44.000000000 +0200 @@ -122,7 +122,7 @@ void MovieDecoder::initializeVideo() { for (unsigned int i = 0; i < m_pFormatContext->nb_streams; i++) { - if (m_pFormatContext->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) { + if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) { m_pVideoStream = m_pFormatContext->streams[i]; m_VideoStream = i; break;