changeset 37035:ef4a44d32a25

ae_towlame: Remove pointless context size print. It used an incorrect format string, sizeof() is not always an int.
author reimar
date Sun, 06 Apr 2014 18:18:01 +0000
parents cc50b327cffa
children e73d13d7741e
files libmpcodecs/ae_twolame.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_twolame.c	Sun Apr 06 18:13:47 2014 +0000
+++ b/libmpcodecs/ae_twolame.c	Sun Apr 06 18:18:01 2014 +0000
@@ -168,7 +168,7 @@
 	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;
 	}