changeset 19153:8df0a51b0e37

fix compilation if DVB is not defined
author ben
date Sat, 22 Jul 2006 13:54:33 +0000
parents a28bcc898ab4
children 2895b9807ff3
files libvo/vo_mpegpes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_mpegpes.c	Sat Jul 22 10:42:57 2006 +0000
+++ b/libvo/vo_mpegpes.c	Sat Jul 22 13:54:33 2006 +0000
@@ -192,10 +192,10 @@
 
 
 static int my_write(unsigned char* data,int len){
+    int orig_len = len;
 #ifdef HAVE_DVB
 #define NFD   2
     struct pollfd pfd[NFD];
-    int orig_len = len;
 
 //    printf("write %d bytes  \n",len);