Mercurial > mplayer.hg
changeset 5881:3c5ee5419838
open w/O_CREAT requires a third argument, mode!
author | rfelker |
---|---|
date | Sun, 28 Apr 2002 02:24:05 +0000 |
parents | a04a7dc31ebb |
children | 9cbcbbf2478a |
files | libvo/vo_mpegpes.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_mpegpes.c Sun Apr 28 01:30:04 2002 +0000 +++ b/libvo/vo_mpegpes.c Sun Apr 28 02:24:05 2002 +0000 @@ -130,7 +130,7 @@ } #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;