]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Revert "Enable O_DIRECT by default"
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 16:09:37 +0000 (18:09 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 17 May 2010 16:09:37 +0000 (18:09 +0200)
This reverts commit 616e23d20d1958157405433ea349c31ea4e920b7.

src/recorder/ffmpeg.c

index f0ace22ac70119b37e4f013dbf7158abe649a18b..3a7f86abf8b66ab422ff10ae97e6fa9e601eff17 100644 (file)
@@ -3506,7 +3506,6 @@ static void opt_output_file(const char *filename)
         }
 
         /* open the file */
-       o_direct = 1;
         if (url_fopen(&oc->pb, filename, o_direct ? URL_RDWR|URL_DIRECT : URL_WRONLY) < 0) {
             fprintf(stderr, "Could not open '%s'\n", filename);
             av_exit(1);