Permalink
Browse files

Correct mispelling of 'memory' in rotter error messages - purely cosm…

…etic
  • Loading branch information...
1 parent a70f919 commit 9146666335300c151321a3048bdc056c11d77a8e @nick-prater nick-prater committed Jun 5, 2012
Showing with 5 additions and 5 deletions.
  1. +2 −2 src/lame.c
  2. +1 −1 src/sndfile.c
  3. +2 −2 src/twolame.c
View
4 src/lame.c
@@ -201,14 +201,14 @@ encoder_funcs_t* init_lame( output_format_t* format, int channels, int bitrate )
// Allocate memory for encoded audio
mpeg_buffer = malloc( 1.25*SAMPLES_PER_FRAME + 7200 );
if ( mpeg_buffer==NULL ) {
- rotter_error( "Failed to allocate memery for encoded audio." );
+ rotter_error( "Failed to allocate memory for encoded audio." );
return NULL;
}
// Allocate memory for callback functions
funcs = calloc( 1, sizeof(encoder_funcs_t) );
if ( funcs==NULL ) {
- rotter_error( "Failed to allocate memery for encoder callback functions structure." );
+ rotter_error( "Failed to allocate memory for encoder callback functions structure." );
return NULL;
}
View
2 src/sndfile.c
@@ -187,7 +187,7 @@ encoder_funcs_t* init_sndfile( output_format_t* format, int channels, int bitrat
// Allocate memory for callback functions
funcs = calloc( 1, sizeof(encoder_funcs_t) );
if ( funcs==NULL ) {
- rotter_error( "Failed to allocate memery for encoder callback functions structure." );
+ rotter_error( "Failed to allocate memory for encoder callback functions structure." );
return NULL;
}
View
4 src/twolame.c
@@ -141,14 +141,14 @@ encoder_funcs_t* init_twolame( output_format_t* format, int channels, int bitrat
// Allocate memory for encoded audio
mpeg_buffer = malloc( 1.25*TWOLAME_SAMPLES_PER_FRAME + 7200 );
if ( mpeg_buffer==NULL ) {
- rotter_error( "Failed to allocate memery for encoded audio." );
+ rotter_error( "Failed to allocate memory for encoded audio." );
return NULL;
}
// Allocate memory for callback functions
funcs = calloc( 1, sizeof(encoder_funcs_t) );
if ( funcs==NULL ) {
- rotter_error( "Failed to allocate memery for encoder callback functions structure." );
+ rotter_error( "Failed to allocate memory for encoder callback functions structure." );
return NULL;
}

0 comments on commit 9146666

Please sign in to comment.