diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-11-01 23:29:57 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-11-01 23:29:57 +0000 |
commit | 0397595e06dbe5b7994fea88008d6240fe361065 (patch) | |
tree | 3bbd496e6445ac3d45c18f58bd945c58e1dde6cf /multimedia/2mandvd/files/patch-videowrapper.cpp | |
parent | - Add stage support (diff) |
- Update to version 1.8.5
- Support staging
PR: ports/181064
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=332425
Diffstat (limited to 'multimedia/2mandvd/files/patch-videowrapper.cpp')
-rw-r--r-- | multimedia/2mandvd/files/patch-videowrapper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/2mandvd/files/patch-videowrapper.cpp b/multimedia/2mandvd/files/patch-videowrapper.cpp index 91be12310c65..b9e56e81834a 100644 --- a/multimedia/2mandvd/files/patch-videowrapper.cpp +++ b/multimedia/2mandvd/files/patch-videowrapper.cpp @@ -10,12 +10,12 @@ diff -urN videowrapper.cpp videowrapper.cpp if (avformat_open_input(&pFormatCtx,filename.toAscii().data(),NULL,NULL)!=0) { #else -@@ -90,7 +90,7 @@ +@@ -91,7 +91,7 @@ // *** OUVERTURE DU CODEC *** -- if(avcodec_open(pCodecCtx, pCodec)<0) -+ if(avcodec_open2(pCodecCtx, pCodec, NULL)<0) +- #ifdef av_find_stream_info ++ #if 0 + if(avcodec_open(pCodecCtx, pCodec)<0) { - qDebug() << "CAN'T FIND VIDEO CODEC"; - return 1; + #else |