a variable length coding method is provided . the method comprises comparing corresponding portions of a present picture and a previous picture received by a video encoder ; and performing coding by fixing a cod flag of the present picture at a certain value , if said corresponding portions are similar to each other .