Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 238641fde7980b244e5982934bc9977c > files > 3

2mandvd-1.8.4-9.mga5.src.rpm

diff -up 2ManDVD/videowrapper.cpp.ffmpeg-2.4 2ManDVD/videowrapper.cpp
--- 2ManDVD/videowrapper.cpp.ffmpeg-2.4	2014-11-14 14:10:26.091067513 +0100
+++ 2ManDVD/videowrapper.cpp	2014-11-14 14:13:55.920190181 +0100
@@ -31,8 +31,7 @@ void videowrapper::delete_videowrapper()
 {
     av_free_packet(&packet);
     avcodec_close(pCodecCtx);
-    av_close_input_file(pFormatCtx);
-    //avformat_close_input(&pFormatCtx);
+    avformat_close_input(&pFormatCtx);
 }
 
 int videowrapper::load_video(QString filename)