Commit e0efd3d9 authored by Rémi Duraffort's avatar Rémi Duraffort

No need to add a '\n' with msg_*

parent e4306960
...@@ -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!"
"\tRealHeader: \t %d X %d \t %d X %d", "\tRealHeader: \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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment