Revision d934de5c libavcodec/cavs_parser.c

View differences:

libavcodec/cavs_parser.c
60 60
        for(; i<buf_size; i++){
61 61
            state= (state<<8) | buf[i];
62 62
            if((state&0xFFFFFF00) == 0x100){
63
                if(state < SLICE_MIN_START_CODE || state > SLICE_MAX_START_CODE){
63
                if(state > SLICE_MAX_START_CODE){
64 64
                    pc->frame_start_found=0;
65 65
                    pc->state=-1;
66 66
                    return i-3;

Also available in: Unified diff