Provided are a method and apparatus for detecting an error during video decoding and handling of the error. An error is detected in a received video stream having a predetermined format, error information is recorded at a predetermined location of the video stream, and the type of the error is determined using the recorded error information. The video decoder includes a broadcast signal receiver that extracts a broadcast stream from a broadcast signal being transmitted via a transmission medium, a demultiplexing and error detection unit that demultiplexes the broadcast stream of a predetermined format extracted by the broadcast signal receiver for extraction of a video stream, detects errors in packets making up the extracted video stream, and records error information at a predetermined location of the video stream, and a video decoding unit that interprets the error information, determines the type of the errors using a predetermined method, and decodes the video stream according to the result of determination. The type and position of an error may be determined during video decoding. The video decoder is able to improve video quality by performing proper error concealment according to the type of error determined.