A method for entropy decoding a current picture of a video comprising: obtaining, from a Picture Parameter Set of the current picture in a bitstream, first information indicating whether a dependent slice segment may be used in the current picture; entropy decoding syntax elements of a current Largest Coding Unit in a first slice segment of the current picture; obtaining, from the bitstream, second information indicating whether the current LCU is the last LCU in the first slice segment of the current picture; storing context variables for the current LCU when the last syntax element of the current LCU is decoded if the first information indicates that a dependent slice segment may be used in the current picture and the second information indicates that the current LCU is the last LCU in the first slice segment of the current picture; determining a number of entry points of subsets that are included in a second slice segment based on third information obtained from a slice segment header of the second slice segment in the bitstream; determining positions of the entry points based on an offset which is 1 larger than a number indicated by fourth information obtained from the bitstream; obtaining, from the bitstream, fifth information indicating whether the second slice segment is a dependent slice segment, decoding the second slice segment when the fifth information indicates that the second slice segment is a dependent slice segment using the stored context variables and the entry points, wherein the second slice segment is located after the first slice segment in decoding order in the current picture, and wherein the number and the positions of the entry points are determined if synchronization can be performed for context variables in the current picture. obtaining, from a Picture Parameter Set of the current picture in a bitstream, first information indicating whether a dependent slice segment may be used in the current picture; entropy decoding syntax elements of a current Largest Coding Unit in a first slice segment of the current picture; obtaining, from the bitstream, second information indicating whether the current LCU is the last LCU in the first slice segment of the current picture; storing context variables for the current LCU when the last syntax element of the current LCU is decoded if the first information indicates that a dependent slice segment may be used in the current picture and the second information indicates that the current LCU is the last LCU in the first slice segment of the current picture; determining a number of entry points of subsets that are included in a second slice segment based on third information obtained from a slice segment header of the second slice segment in the bitstream; determining positions of the entry points based on an offset which is 1 larger than a number indicated by fourth information obtained from the bitstream; obtaining, from the bitstream, fifth information indicating whether the second slice segment is a dependent slice segment, decoding the second slice segment when the fifth information indicates that the second slice segment is a dependent slice segment using the stored context variables and the entry points, wherein the second slice segment is located after the first slice segment in decoding order in the current picture, and wherein the number and the positions of the entry points are determined if synchronization can be performed for context variables in the current picture.