[MPlayer-cvslog] r37131 - trunk/libmpcodecs/ae_twolame.c

reimar subversion at mplayerhq.hu
Sun Apr 6 20:18:01 CEST 2014


Author: reimar
Date: Sun Apr  6 20:18:01 2014
New Revision: 37131

Log:
ae_towlame: Remove pointless context size print.

It used an incorrect format string, sizeof() is
not always an int.

Modified:
   trunk/libmpcodecs/ae_twolame.c

Modified: trunk/libmpcodecs/ae_twolame.c
==============================================================================
--- trunk/libmpcodecs/ae_twolame.c	Sun Apr  6 20:13:47 2014	(r37130)
+++ trunk/libmpcodecs/ae_twolame.c	Sun Apr  6 20:18:01 2014	(r37131)
@@ -168,7 +168,7 @@ int mpae_init_twolame(audio_encoder_t *e
 	ctx = calloc(1, sizeof(mpae_twolame_ctx));
 	if(ctx == NULL)
 	{
-		mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, couldn't alloc a %d bytes context, exiting\n", sizeof(mpae_twolame_ctx));
+		mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, couldn't alloc context, exiting\n");
 		return 0;
 	}
 


More information about the MPlayer-cvslog mailing list