From 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 7 Jul 2009 02:26:13 +0300 Subject: Remove trailing whitespace from most files --- libvo/vo_mpegpes.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libvo/vo_mpegpes.c') diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c index 3ff03bf205..b96b0af639 100644 --- a/libvo/vo_mpegpes.c +++ b/libvo/vo_mpegpes.c @@ -75,7 +75,7 @@ int vo_mpegpes_fd=-1; extern int vo_mpegpes_fd2; -static const vo_info_t info = +static const vo_info_t info = { #ifdef CONFIG_DVB "MPEG-PES to DVB card", @@ -111,7 +111,7 @@ static int preinit(const char *arg){ #ifdef CONFIG_DVB int card = -1; char vo_file[30], ao_file[30], *tmp; - + if(arg != NULL){ if((tmp = strstr(arg, "card=")) != NULL) { card = atoi(&tmp[5]); @@ -123,7 +123,7 @@ static int preinit(const char *arg){ arg = NULL; } } - + if(!arg){ //|O_NONBLOCK //search the first usable card @@ -172,7 +172,7 @@ static int preinit(const char *arg){ arg = (arg ? arg : "grab.mpg"); mp_msg(MSGT_VO,MSGL_INFO, "Saving PES stream to %s\n", arg); vo_mpegpes_fd=open(arg,O_WRONLY|O_CREAT,0666); - if(vo_mpegpes_fd<0){ + if(vo_mpegpes_fd<0){ perror("vo_mpegpes"); return -1; } @@ -195,7 +195,7 @@ static int my_write(const unsigned char* data,int len){ pfd[0].fd = vo_mpegpes_fd; pfd[0].events = POLLOUT; - + pfd[1].fd = vo_mpegpes_fd2; pfd[1].events = POLLOUT; @@ -203,7 +203,7 @@ static int my_write(const unsigned char* data,int len){ if (poll(pfd,NFD,1)){ if (pfd[0].revents & POLLOUT){ int ret=write(vo_mpegpes_fd,data,len); -// printf("ret=%d \n",ret); +// printf("ret=%d \n",ret); if(ret<=0){ perror("write"); usleep(0); -- cgit v1.2.3