Mercurial > mplayer.hg
comparison libvo/vo_mpegpes.c @ 5881:3c5ee5419838
open w/O_CREAT requires a third argument, mode!
author | rfelker |
---|---|
date | Sun, 28 Apr 2002 02:24:05 +0000 |
parents | 93de400ad48e |
children | 22cf38f95151 |
comparison
equal
deleted
inserted
replaced
5880:a04a7dc31ebb | 5881:3c5ee5419838 |
---|---|
128 perror("DVB AUDIO SET MUTE: "); | 128 perror("DVB AUDIO SET MUTE: "); |
129 return -1; | 129 return -1; |
130 } | 130 } |
131 | 131 |
132 #else | 132 #else |
133 vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT); | 133 vo_mpegpes_fd=open("grab.mpg",O_WRONLY|O_CREAT,0666); |
134 if(vo_mpegpes_fd<0){ | 134 if(vo_mpegpes_fd<0){ |
135 perror("vo_mpegpes"); | 135 perror("vo_mpegpes"); |
136 return -1; | 136 return -1; |
137 } | 137 } |
138 #endif | 138 #endif |