Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
d6b974ce
Commit
d6b974ce
authored
Jun 04, 2010
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvdnav: updated patch
parent
3f3b5342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
17 deletions
+4
-17
extras/contrib/src/Patches/libdvdnav.patch
extras/contrib/src/Patches/libdvdnav.patch
+4
-17
No files found.
extras/contrib/src/Patches/libdvdnav.patch
View file @
d6b974ce
Index: src/vm/vm.c
Index: src/vm/vm.c
===================================================================
===================================================================
--- src/vm/vm.c (revision 11
36
)
--- src/vm/vm.c (revision 11
99
)
+++ src/vm/vm.c (working copy)
+++ src/vm/vm.c (working copy)
@@ -1
46,12 +146
,11 @@
@@ -1
72,12 +172
,11 @@
fd = open(device, O_RDONLY);
fd = open(device, O_RDONLY);
if (fd > 0) {
if (fd > 0) {
off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET );
off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET );
...
@@ -17,7 +17,7 @@ Index: src/vm/vm.c
...
@@ -17,7 +17,7 @@ Index: src/vm/vm.c
if((data[i] == 0)) break;
if((data[i] == 0)) break;
if((data[i] > 32) && (data[i] < 127)) {
if((data[i] > 32) && (data[i] < 127)) {
fprintf(MSG_OUT, "%c", data[i]);
fprintf(MSG_OUT, "%c", data[i]);
@@ -1
59,10 +158
,12 @@
@@ -1
85,10 +184
,12 @@
fprintf(MSG_OUT, " ");
fprintf(MSG_OUT, " ");
}
}
}
}
...
@@ -35,7 +35,7 @@ Index: src/vm/vm.c
...
@@ -35,7 +35,7 @@ Index: src/vm/vm.c
fprintf(MSG_OUT, "%c", data[i]);
fprintf(MSG_OUT, "%c", data[i]);
Index: Makefile.am
Index: Makefile.am
===================================================================
===================================================================
--- Makefile.am (revision 11
36
)
--- Makefile.am (revision 11
99
)
+++ Makefile.am (working copy)
+++ Makefile.am (working copy)
@@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
include $(top_srcdir)/misc/Makefile.common
include $(top_srcdir)/misc/Makefile.common
...
@@ -46,16 +46,3 @@ Index: Makefile.am
...
@@ -46,16 +46,3 @@ Index: Makefile.am
EXTRA_DIST = autogen.sh \
EXTRA_DIST = autogen.sh \
AUTHORS \
AUTHORS \
Index: src/dvdnav_internal.h
===================================================================
--- src/dvdnav_internal.h (revision 1136)
+++ src/dvdnav_internal.h working copy)
@@ -37,7 +37,7 @@
#define pthread_mutex_init(a, b) InitializeCriticalSection(a)
#define pthread_mutex_lock(a) EnterCriticalSection(a)
#define pthread_mutex_unlock(a) LeaveCriticalSection(a)
-#define pthread_mutex_destroy(a)
+#define pthread_mutex_destroy(a) DeleteCriticalSection(a)
/* replacement gettimeofday implementation */
#include <sys/timeb.h>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment