Suppress a GCC warning, fix a non-problematic array overflow, one REP->REP_RET.
inc t6d
sub t4d, t3d
jge .loop
- RET
+ REP_RET
%endmacro
INIT_MMX
i_nza = h->mb.i_neighbour & MB_LEFT ? (h->mb.cbp[h->mb.i_mb_xy - 1] >> (9 + i_idx)) & 1 : b_intra;
i_nzb = h->mb.i_neighbour & MB_TOP ? (h->mb.cbp[h->mb.i_mb_top_xy] >> (9 + i_idx)) & 1 : b_intra;
return 4*i_cat + 2*i_nzb + i_nza;
+ default:
+ return 0;
}
}
pic_out->i_pts = h->fenc->i_pts;
pic_out->img.i_plane = h->fdec->i_plane;
- for(i = 0; i < 4; i++){
+ for(i = 0; i < 3; i++)
+ {
pic_out->img.i_stride[i] = h->fdec->i_stride[i];
pic_out->img.plane[i] = h->fdec->plane[i];
}