comparison libmpcodecs/ae_twolame.c @ 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 389d43c448b3
children 5a59a2cfcc80
comparison
equal deleted inserted replaced
37034:cc50b327cffa 37035:ef4a44d32a25
166 mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, Twolame can't encode > 2 channels, exiting\n"); 166 mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, Twolame can't encode > 2 channels, exiting\n");
167 167
168 ctx = calloc(1, sizeof(mpae_twolame_ctx)); 168 ctx = calloc(1, sizeof(mpae_twolame_ctx));
169 if(ctx == NULL) 169 if(ctx == NULL)
170 { 170 {
171 mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, couldn't alloc a %d bytes context, exiting\n", sizeof(mpae_twolame_ctx)); 171 mp_msg(MSGT_MENCODER, MSGL_ERR, "ae_twolame, couldn't alloc context, exiting\n");
172 return 0; 172 return 0;
173 } 173 }
174 174
175 ctx->twolame_ctx = twolame_init(); 175 ctx->twolame_ctx = twolame_init();
176 if(ctx->twolame_ctx == NULL) 176 if(ctx->twolame_ctx == NULL)