From 8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d Mon Sep 17 00:00:00 2001 From: reynaldo Date: Thu, 10 Nov 2005 21:33:12 +0000 Subject: [TRIVIAL] More translatables to help_mp and printfs to mp_msg on libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16968 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/cdinfo.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libmpdemux/cdinfo.c') diff --git a/libmpdemux/cdinfo.c b/libmpdemux/cdinfo.c index edb811314d..53cc019ec3 100644 --- a/libmpdemux/cdinfo.c +++ b/libmpdemux/cdinfo.c @@ -11,7 +11,8 @@ #include #include #include - +#include "mp_msg.h" +#include "help_mp.h" #include "cdd.h" /******************************************************************************************************************* @@ -26,7 +27,7 @@ cd_info_new() { cd_info = (cd_info_t*)malloc(sizeof(cd_info_t)); if( cd_info==NULL ) { - printf("Memory allocation failed\n"); + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); return NULL; } @@ -60,14 +61,14 @@ cd_info_add_track(cd_info_t *cd_info, char *track_name, unsigned int track_nb, u cd_track = (cd_track_t*)malloc(sizeof(cd_track_t)); if( cd_track==NULL ) { - printf("Memory allocation failed\n"); + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); return NULL; } memset(cd_track, 0, sizeof(cd_track_t)); cd_track->name = (char*)malloc(strlen(track_name)+1); if( cd_track->name==NULL ) { - printf("Memory allocation failed\n"); + mp_msg(MSGT_DEMUX, MSGL_ERR, MSGTR_MemAllocFailed); free(cd_track); return NULL; } -- cgit v1.2.3