tags 720727 patch
thanks
On Sat, Aug 24, 2013 at 12:31:55PM -0700, Daniel Schepler wrote:
> Source: dff
> Version: 1.3.0+dfsg.1-2
> Severity: serious
>
> >From my pbuilder build log:
Patch attached.
Cheers,
Moritz
diff -aur dff-1.3.0+dfsg.1.orig/dff/api/gui/video/video.cpp dff-1.3.0+dfsg.1/dff/api/gui/video/video.cpp
--- dff-1.3.0+dfsg.1.orig/dff/api/gui/video/video.cpp 2013-07-18 14:39:08.000000000 +0200
+++ dff-1.3.0+dfsg.1/dff/api/gui/video/video.cpp 2013-07-23 14:10:52.092000000 +0200
@@ -124,7 +124,7 @@
this->_clear();
throw std::string("can't open input stream");
}
- if (av_find_stream_info(this->_formatContext) < 0)
+ if (avformat_find_stream_info(this->_formatContext, NULL) < 0)
{
this->_clear();
throw std::string("can't find video info");
@@ -419,7 +419,7 @@
}
this->_codecContext->workaround_bugs = 1;
- if (avcodec_open(this->_codecContext, this->_codec) < 0)
+ if (avcodec_open2(this->_codecContext, this->_codec, NULL) < 0)
{
this->_clear();
throw std::string("Could not open video");