summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mpegpes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_mpegpes.c')
-rw-r--r--libvo/vo_mpegpes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index 8f94e5d6f7..e337aecf0a 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -130,7 +130,7 @@ static uint32_t preinit(const char *arg){
}
#else
- vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT);
+ vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT,0666);
if(vo_mpegpes_fd<0){
perror("vo_mpegpes");
return -1;