Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / squeak-vm / patches / patch-Cross_plugins_Mpeg3Plugin_libmpeg_video_getpicture.c
blobf1eb496aa634df241ebe305c3f712edad36186f7
1 $NetBSD$
3 --- Cross/plugins/Mpeg3Plugin/libmpeg/video/getpicture.c.orig 2012-10-20 13:52:22.000000000 +0000
4 +++ Cross/plugins/Mpeg3Plugin/libmpeg/video/getpicture.c
5 @@ -205,7 +205,7 @@ int mpeg3video_getintrablock(mpeg3_slice
7 /* fprintf(stderr, "mpeg3video_getintrablock: invalid Huffman code\n"); */
8 slice->fault = 1;
9 - return;
10 + return 1;
13 mpeg3slice_flushbits(slice_buffer, tab->len);
14 @@ -240,7 +240,7 @@ int mpeg3video_getintrablock(mpeg3_slice
15 else
17 slice->fault = 1;
18 - return;
19 + return 1;
23 @@ -397,7 +397,7 @@ int mpeg3video_getmpg2intrablock(mpeg3_s
24 else
25 val = (dc_dct_pred[2] += mpeg3video_getdcchrom(slice_buffer));
27 - if(slice->fault) return;
28 + if(slice->fault) return 1;
29 #ifdef HAVE_MMX
30 if(video->have_mmx)
31 bp[0] = val << (7 - video->dc_prec);
32 @@ -463,7 +463,7 @@ int mpeg3video_getmpg2intrablock(mpeg3_s
34 // invalid signed_level (escape)
35 slice->fault = 1;
36 - return;
37 + return 1;
39 if((sign = (val >= 2048)) != 0) val = 4096 - val;
41 @@ -545,7 +545,7 @@ int mpeg3video_getmpg2interblock(mpeg3_s
43 // invalid Huffman code
44 slice->fault = 1;
45 - return;
46 + return 1;
49 mpeg3slice_flushbits(slice_buffer, tab->len);