diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch')
-rw-r--r-- | community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch b/community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch deleted file mode 100644 index eb81f33f4..000000000 --- a/community/mlt/fix-segmentation-fault-at-exit-by-calling-av_lockmgr.patch +++ /dev/null @@ -1,37 +0,0 @@ -From ef749d7b526f0762a00a369ea35b5b12c18142fb Mon Sep 17 00:00:00 2001 -From: Nicolas Boichat <nicolas@boichat.ch> -Date: Wed, 20 Mar 2013 16:50:56 +0800 -Subject: [PATCH] Fix Segmentation fault at exit by calling - av_lockmgr_register( NULL ); - ---- - src/modules/avformat/factory.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/modules/avformat/factory.c b/src/modules/avformat/factory.c -index ddf05fe..a273537 100644 ---- a/src/modules/avformat/factory.c -+++ b/src/modules/avformat/factory.c -@@ -83,6 +83,11 @@ static int avformat_lockmgr(void **mutex, enum AVLockOp op) - return 0; - } - -+static void avformat_exit( ) -+{ -+ av_lockmgr_register( NULL ); -+} -+ - static void avformat_init( ) - { - // Initialise avformat if necessary -@@ -98,6 +103,7 @@ static void avformat_init( ) - avformat_network_init(); - #endif - av_log_set_level( mlt_log_get_level() ); -+ atexit(avformat_exit); - } - } - --- -1.8.1.5 - |