Rename struct audio format to audio_format_handler
[paraslash.git] / grab_client.c
index b58c456..026211f 100644 (file)
@@ -99,6 +99,7 @@ static int check_gc_args(struct grab_client *gc)
        if (!mv[i])
                return -E_GC_SYNTAX;
        gc->mode = i;
+       gc->audio_format_num = -1;
        if (conf->audio_format_given) {
                gc->audio_format_num = get_audio_format_num(conf->audio_format_arg);
                if (gc->audio_format_num < 0)