diff options
Diffstat (limited to 'recordmydesktop/src/rmd_init_encoder.c')
-rw-r--r-- | recordmydesktop/src/rmd_init_encoder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recordmydesktop/src/rmd_init_encoder.c b/recordmydesktop/src/rmd_init_encoder.c index 4fb2538..c6d5576 100644 --- a/recordmydesktop/src/rmd_init_encoder.c +++ b/recordmydesktop/src/rmd_init_encoder.c @@ -35,7 +35,6 @@ #include "rmd_types.h" #include "rmd_init_encoder.h" -#include "rmd_macro.h" static void m_add_fishead_packet(ogg_stream_state *m_ogg_state) { @@ -73,7 +72,7 @@ static int IncrementalNaming(char **name) { strcpy(tname,base_name__); strcat(tname,"-"); i++; - I16TOA((i),numbuf) + snprintf( numbuf, 8, "%d", i ); strcat(tname,numbuf); strcat(tname,".ogv"); //save new name |