summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-09-27 19:12:37 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-09-27 19:12:37 +0000
commit84cbab18da4b986e8bd3427cc9d3a5e9296fd4a5 (patch)
treebffddccac39bff4c4915a34c94f5f9f4afde91d1 /apps
parentd5dcb49f17d8fb2965cdae47f2dbf161e5ddc5a6 (diff)
Fixed the possiblity of fooling the recording screen into writing to a non existent directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11079 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index ff970f7b7c..e98730b582 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1259,6 +1259,7 @@ bool recording_screen(bool no_source)
global_settings.rec_editable,
global_settings.rec_prerecord_time);
+ rec_create_directory();
#ifdef HAVE_AGC
if (global_settings.rec_source == AUDIO_SRC_MIC) {
agc_preset = global_settings.rec_agc_preset_mic;