summaryrefslogtreecommitdiff
path: root/src/libreal/xine_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 22:49:16 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 22:49:16 +0000
commit2cfb08e9cc94e0707056edd5432a1c0ca66eeca4 (patch)
tree94823bfe438f9083146ffde8ffabb75bde02b384 /src/libreal/xine_decoder.c
parent38dcab246c58c2088c3ec2aed6e632dae6a8467d (diff)
downloadxine-lib-2cfb08e9cc94e0707056edd5432a1c0ca66eeca4.tar.gz
xine-lib-2cfb08e9cc94e0707056edd5432a1c0ca66eeca4.tar.bz2
Always pass alternate, and avoid checking for .6.0.
CVS patchset: 8690 CVS date: 2007/03/16 22:49:16
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r--src/libreal/xine_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index 761b4bfc2..8c5ac00d2 100644
--- a/src/libreal/xine_decoder.c
+++ b/src/libreal/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.90 2007/03/16 22:46:49 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.91 2007/03/16 22:49:16 dgp85 Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -109,7 +109,7 @@ void __pure_virtual(void);
* real codec loader
*/
-static int load_syms_linux (realdec_decoder_t *this, const char *codec_name, const char *const codec_alternate = NULL) {
+static int load_syms_linux (realdec_decoder_t *this, const char *codec_name, const char *const codec_alternate) {
cfg_entry_t* entry =
this->stream->xine->config->lookup_entry(this->stream->xine->config,
"decoder.external.real_codecs_path");
@@ -158,7 +158,7 @@ static int init_codec (realdec_decoder_t *this, buf_element_t *buf) {
switch (buf->type) {
case BUF_VIDEO_RV20:
_x_meta_info_set_utf8(this->stream, XINE_META_INFO_VIDEOCODEC, "Real Video 2.0");
- if (!load_syms_linux (this, "drv2.so"))
+ if (!load_syms_linux (this, "drv2.so", "drv2.so.6.0"))
return 0;
break;
case BUF_VIDEO_RV30: