Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
e0efd3d9
Commit
e0efd3d9
authored
Mar 17, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to add a '\n' with msg_*
parent
e4306960
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/codec/realvideo.c
modules/codec/realvideo.c
+8
-8
No files found.
modules/codec/realvideo.c
View file @
e0efd3d9
...
@@ -146,15 +146,15 @@ static void * load_syms(decoder_t *p_dec, const char *path)
...
@@ -146,15 +146,15 @@ static void * load_syms(decoder_t *p_dec, const char *path)
{
{
void
*
handle
;
void
*
handle
;
msg_Dbg
(
p_dec
,
"opening win32 dll '%s'
\n
"
,
path
);
msg_Dbg
(
p_dec
,
"opening win32 dll '%s'"
,
path
);
#ifdef LOADER
#ifdef LOADER
Setup_LDT_Keeper
();
Setup_LDT_Keeper
();
#endif
#endif
handle
=
LoadLibraryA
(
path
);
handle
=
LoadLibraryA
(
path
);
msg_Dbg
(
p_dec
,
"win32 real codec handle=%p
\n
"
,
handle
);
msg_Dbg
(
p_dec
,
"win32 real codec handle=%p"
,
handle
);
if
(
!
handle
)
if
(
!
handle
)
{
{
msg_Err
(
p_dec
,
"Error loading dll
\n
"
);
msg_Err
(
p_dec
,
"Error loading dll"
);
return
NULL
;
return
NULL
;
}
}
...
@@ -168,7 +168,7 @@ static void * load_syms(decoder_t *p_dec, const char *path)
...
@@ -168,7 +168,7 @@ static void * load_syms(decoder_t *p_dec, const char *path)
dll_type
=
1
;
dll_type
=
1
;
return
handle
;
return
handle
;
}
}
msg_Err
(
p_dec
,
"Error resolving symbols! (version incompatibility?)
\n
"
);
msg_Err
(
p_dec
,
"Error resolving symbols! (version incompatibility?)"
);
FreeLibrary
(
handle
);
FreeLibrary
(
handle
);
return
NULL
;
// error
return
NULL
;
// error
}
}
...
@@ -177,12 +177,12 @@ static void * load_syms_linux(decoder_t *p_dec, const char *path)
...
@@ -177,12 +177,12 @@ static void * load_syms_linux(decoder_t *p_dec, const char *path)
{
{
void
*
handle
;
void
*
handle
;
msg_Dbg
(
p_dec
,
"opening shared obj '%s'
\n
"
,
path
);
msg_Dbg
(
p_dec
,
"opening shared obj '%s'"
,
path
);
handle
=
dlopen
(
path
,
RTLD_LAZY
);
handle
=
dlopen
(
path
,
RTLD_LAZY
);
if
(
!
handle
)
if
(
!
handle
)
{
{
msg_Err
(
p_dec
,
"Error: %s
\n
"
,
dlerror
());
msg_Err
(
p_dec
,
"Error: %s"
,
dlerror
());
return
NULL
;
return
NULL
;
}
}
...
@@ -197,7 +197,7 @@ static void * load_syms_linux(decoder_t *p_dec, const char *path)
...
@@ -197,7 +197,7 @@ static void * load_syms_linux(decoder_t *p_dec, const char *path)
return
handle
;
return
handle
;
}
}
msg_Err
(
p_dec
,
"Error resolving symbols! (version incompatibility?)
\n
"
);
msg_Err
(
p_dec
,
"Error resolving symbols! (version incompatibility?)"
);
dlclose
(
handle
);
dlclose
(
handle
);
return
0
;
return
0
;
}
}
...
@@ -513,7 +513,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
...
@@ -513,7 +513,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
||
p_dec
->
fmt_in
.
video
.
i_height
!=
transform_out
[
4
]
)
||
p_dec
->
fmt_in
.
video
.
i_height
!=
transform_out
[
4
]
)
{
{
msg_Warn
(
p_dec
,
"Warning, Real's Header give a wrong "
msg_Warn
(
p_dec
,
"Warning, Real's Header give a wrong "
"information about media's width and height!
\n
"
"information about media's width and height!"
"
\t
RealHeader:
\t
%d X %d
\t
%d X %d"
,
"
\t
RealHeader:
\t
%d X %d
\t
%d X %d"
,
p_dec
->
fmt_in
.
video
.
i_width
,
p_dec
->
fmt_in
.
video
.
i_width
,
p_dec
->
fmt_in
.
video
.
i_height
,
p_dec
->
fmt_in
.
video
.
i_height
,
...
...
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