Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2ed5acfd
Commit
2ed5acfd
authored
Nov 11, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Real Audio: Add support for RealPlayer 10/10GOLD .so
parent
e5147c68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
modules/codec/realaudio.c
modules/codec/realaudio.c
+10
-1
No files found.
modules/codec/realaudio.c
View file @
2ed5acfd
...
@@ -276,7 +276,7 @@ static int OpenDll( decoder_t *p_dec )
...
@@ -276,7 +276,7 @@ static int OpenDll( decoder_t *p_dec )
"/usr/lib64/RealPlayer10GOLD/codecs"
,
"/usr/lib64/RealPlayer10GOLD/codecs"
,
"/usr/lib/win32"
,
"/usr/lib/win32"
,
"/usr/lib/codecs"
,
"/usr/lib/codecs"
,
"/usr/local/lib/codecs"
"/usr/local/lib/codecs"
,
#endif
#endif
NULL
,
NULL
,
NULL
,
NULL
,
...
@@ -290,11 +290,20 @@ static int OpenDll( decoder_t *p_dec )
...
@@ -290,11 +290,20 @@ static int OpenDll( decoder_t *p_dec )
for
(
i
=
0
;
ppsz_path
[
i
];
i
++
)
for
(
i
=
0
;
ppsz_path
[
i
];
i
++
)
{
{
/* Old format */
asprintf
(
&
psz_dll
,
"%s/%4.4s.so.6.0"
,
ppsz_path
[
i
],
asprintf
(
&
psz_dll
,
"%s/%4.4s.so.6.0"
,
ppsz_path
[
i
],
(
char
*
)
&
p_dec
->
fmt_in
.
i_codec
);
(
char
*
)
&
p_dec
->
fmt_in
.
i_codec
);
i_result
=
OpenNativeDll
(
p_dec
,
ppsz_path
[
i
],
psz_dll
);
i_result
=
OpenNativeDll
(
p_dec
,
ppsz_path
[
i
],
psz_dll
);
free
(
psz_dll
);
free
(
psz_dll
);
if
(
i_result
==
VLC_SUCCESS
)
return
VLC_SUCCESS
;
if
(
i_result
==
VLC_SUCCESS
)
return
VLC_SUCCESS
;
/* New format */
asprintf
(
&
psz_dll
,
"%s/%4.4s.so"
,
ppsz_path
[
i
],
(
char
*
)
&
p_dec
->
fmt_in
.
i_codec
);
i_result
=
OpenNativeDll
(
p_dec
,
ppsz_path
[
i
],
psz_dll
);
free
(
psz_dll
);
if
(
i_result
==
VLC_SUCCESS
)
return
VLC_SUCCESS
;
}
}
#ifdef WIN32
#ifdef WIN32
...
...
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