Mercurial > mplayer.hg
changeset 19222:5500b7fa33c0
if HAVE_DVB isn't set don't fall back to outputting audiograb.mpg by default, fail instead
author | nicodvb |
---|---|
date | Fri, 28 Jul 2006 21:15:31 +0000 |
parents | 62ff089c24f7 |
children | 8a6f1e76f00b |
files | libao2/ao_mpegpes.c |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_mpegpes.c Fri Jul 28 19:37:49 2006 +0000 +++ b/libao2/ao_mpegpes.c Fri Jul 28 21:15:31 2006 +0000 @@ -164,15 +164,7 @@ return init_device(card); #else if(!ao_file) - { - if(vo_mpegpes_fd >= 0) - { - vo_mpegpes_fd2 = vo_mpegpes_fd; - return vo_mpegpes_fd2; //video fd - } - else - ao_file = "audiograb.mpg"; - } + return vo_mpegpes_fd; //video fd #endif vo_mpegpes_fd2=open(ao_file,O_WRONLY|O_CREAT,0666);