diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-10 21:33:12 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-11-10 21:33:12 +0000 |
commit | 8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d (patch) | |
tree | b9bf14e369b00ff68fc2825b60a09c540a08f586 /libmpdemux/cdinfo.c | |
parent | 09ed4549ebf56596a637586b5c5e99c1d361caa8 (diff) | |
download | mpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.bz2 mpv-8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d.tar.xz |
[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
Diffstat (limited to 'libmpdemux/cdinfo.c')
-rw-r--r-- | libmpdemux/cdinfo.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 <stdio.h> #include <stdlib.h> #include <string.h> - +#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; } |