rem: if ((i >> 4) == 0xC) {
add: if (0xC0 <= i && i <= 0xC3) {
context: JpegSize(Tcl_Channel chan, int *wPtr, int *hPtr){    unsigned int i, w, h;    if (ChanGetc(chan) == 0xFF && ChanGetc(chan) == M_SOI) {	while (1) {	    i = JpegNextMarker(chan);	    if (i == EOF || i == M_SOS || i == M_EOI) {	    	break;	    }	    if ((i >> 4) == 0xC) {		if (JpegRead2Bytes(chan) != EOF && ChanGetc(chan) != EOF		    && (h = JpegRead2Bytes(chan)) != EOF		    && (w = JpegRead2Bytes(chan)) != EOF) {		    *wPtr = w;		    *hPtr = h;		    return TCL_OK;		}		break;	    }	    i = JpegRead2Bytes(chan);	    if (i < 2 || Tcl_Seek(chan, i-2, SEEK_CUR) == -1) {	    	break;	    }	}    }    return TCL_ERROR;}