diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 88bef366a08b299eaecc895aa2f749b04c37df62..3ecda4c8b89396ac0c572cb2af6799c0eb765099 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -599,7 +599,6 @@ static void decode_transform_coeffs(AC3DecodeContext *s, int blk)
     }
 
     /* if any channel doesn't use dithering, zero appropriate coefficients */
-    if(!s->dither_all)
         remove_dithering(s);
 }
 
@@ -742,11 +741,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
 
     /* dithering flags */
     if (s->dither_flag_syntax) {
-        s->dither_all = 1;
         for (ch = 1; ch <= fbw_channels; ch++) {
             s->dither_flag[ch] = get_bits1(gbc);
-            if(!s->dither_flag[ch])
-                s->dither_all = 0;
         }
     }
 
diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h
index d78fa68102d64303cbd3f486bf8db359dd285366..81825bd2bd757fd558b4616c9ca6b10f7720d2af 100644
--- a/libavcodec/ac3dec.h
+++ b/libavcodec/ac3dec.h
@@ -140,7 +140,6 @@ typedef struct {
 ///@}
 
 ///@defgroup dithering zero-mantissa dithering
-    int dither_all;                         ///< true if all channels are dithered
     int dither_flag[AC3_MAX_CHANNELS];      ///< dither flags                           (dithflg)
     AVLFG dith_state;                       ///< for dither generation
 ///@}