A method for concealing errors in packets of data that are to be decoded in a modified discrete cosine transform, MDCT, based audio decoder arranged to decode a sequence of packets into a sequence of decoded frames, the method comprising: receiving, from an MDCT based audio encoder arranged to encode an audio signal, a packet comprising a set of MDCT coefficients associated with a frame comprising time-domain samples of the audio signal; identifying the received packet to be an erroneous packet in that the received packet comprises one or more errors; generating estimated MDCT coefficients to replace the set of MDCT coefficients of the erroneous packet, the estimated MDCT coefficients being based on corresponding MDCT coefficients associated with a received packet, which directly precedes the erroneous packet in the sequence of packets; assigning signs of a first subset of MDCT coefficients of the estimated MDCT coefficients, wherein the first subset comprises such MDCT coefficients that are associated with tonal-like spectral bins of the packet, to be equal to corresponding signs of the corresponding MDCT coefficients of the received packet, which directly precedes the erroneous packet in said sequence of packets; randomly assigning signs of a second subset of MDCT coefficients of the estimated MDCT coefficients, wherein the second subset comprises such MDCT coefficients that are associated with noise-like spectral bins of the packet; generating a concealment packet based on the estimated MDCT coefficients and the selected signs of the packet; and replacing the erroneous packet with the concealment packet, the method being characterized by further comprising: determining, for each of the estimated MDCT coefficients, whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin based on metadata associated with the packet, wherein the metadata is received in a bit stream comprising the sequence of packets and the metadata, and wherein said metadata comprises: metadata relating to a companding tool at the audio decoder, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that companding is off; or metadata relating to MDCT length, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that a longest MDCT is used. receiving, from an MDCT based audio encoder arranged to encode an audio signal, a packet comprising a set of MDCT coefficients associated with a frame comprising time-domain samples of the audio signal; identifying the received packet to be an erroneous packet in that the received packet comprises one or more errors; generating estimated MDCT coefficients to replace the set of MDCT coefficients of the erroneous packet, the estimated MDCT coefficients being based on corresponding MDCT coefficients associated with a received packet, which directly precedes the erroneous packet in the sequence of packets; assigning signs of a first subset of MDCT coefficients of the estimated MDCT coefficients, wherein the first subset comprises such MDCT coefficients that are associated with tonal-like spectral bins of the packet, to be equal to corresponding signs of the corresponding MDCT coefficients of the received packet, which directly precedes the erroneous packet in said sequence of packets; randomly assigning signs of a second subset of MDCT coefficients of the estimated MDCT coefficients, wherein the second subset comprises such MDCT coefficients that are associated with noise-like spectral bins of the packet; generating a concealment packet based on the estimated MDCT coefficients and the selected signs of the packet; and replacing the erroneous packet with the concealment packet, the method being characterized by further comprising: determining, for each of the estimated MDCT coefficients, whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin based on metadata associated with the packet, wherein the metadata is received in a bit stream comprising the sequence of packets and the metadata, and wherein said metadata comprises: metadata relating to a companding tool at the audio decoder, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that companding is off; or metadata relating to MDCT length, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that a longest MDCT is used. metadata relating to a companding tool at the audio decoder, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that companding is off; or metadata relating to MDCT length, wherein determining whether the MDCT coefficient is associated with a tonal-like spectral bin or a noise-like spectral bin includes assuming that the spectral bin is tonal-like based on an indication in the metadata that a longest MDCT is used.