diff options
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 |