diff options
Diffstat (limited to 'stream/cdinfo.c')
-rw-r--r-- | stream/cdinfo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/stream/cdinfo.c b/stream/cdinfo.c index d70f55070d..cc42bf11e4 100644 --- a/stream/cdinfo.c +++ b/stream/cdinfo.c @@ -26,7 +26,6 @@ #include <stdlib.h> #include <string.h> #include "mp_msg.h" -#include "help_mp.h" #include "cdd.h" /******************************************************************************************************************* @@ -41,7 +40,7 @@ cd_info_new(void) { cd_info = malloc(sizeof(cd_info_t)); if( cd_info==NULL ) { - mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); + mp_tmsg(MSGT_DEMUX, MSGL_ERR, "Memory allocation failed.\n"); return NULL; } @@ -75,14 +74,14 @@ cd_info_add_track(cd_info_t *cd_info, char *track_name, unsigned int track_nb, u cd_track = malloc(sizeof(cd_track_t)); if( cd_track==NULL ) { - mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); + mp_tmsg(MSGT_DEMUX, MSGL_ERR, "Memory allocation failed.\n"); return NULL; } memset(cd_track, 0, sizeof(cd_track_t)); cd_track->name = malloc(strlen(track_name)+1); if( cd_track->name==NULL ) { - mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); + mp_tmsg(MSGT_DEMUX, MSGL_ERR, "Memory allocation failed.\n"); free(cd_track); return NULL; } |