Various embodiments for decoding a current block of a picture are provided. A first candidate having a first motion vector predictor is derived from a first motion vector that has been used to decode a first block. It is determined whether a total number of candidates having the first candidate is less than a predetermined maximum candidate number. A second candidate having a second motion vector predictor is derived when the total number of the candidates having the first candidate is less than the predetermined maximum candidate number. A coded index corresponding to a candidate having a motion vector predictor is decoded. The candidate is one of a plurality of candidates having the first candidate and the second candidate. The predetermined maximum candidate number is fixed for all blocks in a slice of the picture.