X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshudmp.C;h=1d3560ce38ed7da97707e7a0ea71fdb93a82cb2c;hb=bd7011a86f60b4ef1abf11e2667373eba3a98c99;hp=fbb85cf68af3746754e896743f20960cd651ecdc;hpb=47f71d004db08fb289428240fb87ce97c64382d2;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/shudmp.C b/cinelerra-5.1/cinelerra/shudmp.C index fbb85cf6..1d3560ce 100644 --- a/cinelerra-5.1/cinelerra/shudmp.C +++ b/cinelerra-5.1/cinelerra/shudmp.C @@ -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 #include #include @@ -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 ) {