Group :: Gráficos
RPM: ffmpegthumbnailer
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ffmpegthumbnailer-ffmpeg-0.7.1.patch
Download
Download
diff --git a/ffmpegthumbnailer/libffmpegthumbnailer/moviedecoder.cpp b/ffmpegthumbnailer/libffmpegthumbnailer/moviedecoder.cpp
index 40c92ad..a0801c5 100644
--- a/ffmpegthumbnailer/libffmpegthumbnailer/moviedecoder.cpp
+++ b/ffmpegthumbnailer/libffmpegthumbnailer/moviedecoder.cpp
@@ -125,7 +125,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;