The invention relates to a method of coding a digital image comprising macroblocks
in a binary data stream, comprising an estimation step, for macroblocks, of a capacity
to be reconstructed by an error concealment method, a decision step for excluding
macroblocks from the coding, a decision to exclude a macroblock from coding being
made on the basis of the capacity of such macroblock to be reconstructed and a
step of inserting a resynchronization marker into the binary data stream following
the exclusion of one or more macroblocks.