Credit Andrew - add new render formats for dvd_pcm.dvd and mp2; fix location of HiLo...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / shudmp.C
index fbb85cf68af3746754e896743f20960cd651ecdc..1d3560ce38ed7da97707e7a0ea71fdb93a82cb2c 100644 (file)
@@ -1,3 +1,20 @@
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -58,7 +75,7 @@ int main(int ac, char **av)
                while( !done ) {
                        int len = 0;
                        static const int IN_ENDPOINT = 0x81;
-                       unsigned char dat[64];
+                       unsigned char dat[5];
                        int ret = libusb_interrupt_transfer(devsh,
                                        IN_ENDPOINT, dat, sizeof(dat), &len, 100);
                        if( ret != 0 ) {