comparison libmpeg2/decode.c @ 499:3601edb3805c

printfs changed...
author arpi_esp
date Wed, 18 Apr 2001 01:27:23 +0000
parents 56f4cfbcadd5
children 5f07e67982d6
comparison
equal deleted inserted replaced
498:86c689b3e40e 499:3601edb3805c
60 #endif 60 #endif
61 61
62 void mpeg2_init (void) 62 void mpeg2_init (void)
63 { 63 {
64 64
65 printf (PACKAGE"-"VERSION" (C) 2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>\n"); 65 printf (PACKAGE"-"VERSION" (C) 2000-2001 Aaron Holtzman & Michel Lespinasse\n");
66 config.flags = 0; 66 config.flags = 0;
67 #ifdef HAVE_MMX 67 #ifdef HAVE_MMX
68 config.flags |= MM_ACCEL_X86_MMX; 68 config.flags |= MM_ACCEL_X86_MMX;
69 #endif 69 #endif
70 #ifdef HAVE_SSE 70 #ifdef HAVE_SSE
75 #endif 75 #endif
76 #ifdef HAVE_MLIB 76 #ifdef HAVE_MLIB
77 config.flags |= MM_ACCEL_MLIB; 77 config.flags |= MM_ACCEL_MLIB;
78 #endif 78 #endif
79 79
80 printf("libmpeg2 config flags = 0x%X\n",config.flags); 80 // printf("libmpeg2 config flags = 0x%X\n",config.flags);
81 81
82 picture=shmem_alloc(sizeof(picture_t)); // !!! NEW HACK :) !!! 82 picture=shmem_alloc(sizeof(picture_t)); // !!! NEW HACK :) !!!
83 83
84 header_state_init (picture); 84 header_state_init (picture);
85 // picture->repeat_count=0; 85 // picture->repeat_count=0;
326 ret+=parse_chunk(output, code&0xFF, pos); 326 ret+=parse_chunk(output, code&0xFF, pos);
327 } else { 327 } else {
328 #ifdef ARCH_X86 328 #ifdef ARCH_X86
329 if (config.flags & MM_ACCEL_X86_MMX) emms (); 329 if (config.flags & MM_ACCEL_X86_MMX) emms ();
330 #endif 330 #endif
331 printf("@@@ libmpeg2 returned from sig11... @@@\n"); 331 printf("@@@ libmpeg2 returned from sig11... (bad file?) @@@\n");
332 } 332 }
333 } 333 }
334 //-------------------- 334 //--------------------
335 pos=current;code=head|c; 335 pos=current;code=head|c;
336 } 336 }