 +void ff_eac3_apply_spectral_extension(AC3DecodeContext *s);
 +
  #endif /* AVCODEC_AC3DEC_H */
-Index: ffmpeg/libavcodec/eac3dec.c
+Index: eac3dec.c
 ===================================================================
---- ffmpeg/libavcodec/eac3dec.c	(révision 19328)
-+++ ffmpeg/libavcodec/eac3dec.c	(copie de travail)
+--- eac3dec.c	(revision 19357)
++++ eac3dec.c	(working copy)
 @@ -23,10 +23,6 @@
  /*
   * There are several features of E-AC-3 that this decoder does not yet support.

Index: ffmpeg/libavcodec/ac3dec.c
===================================================================
--- ffmpeg/libavcodec/ac3dec.c	(révision 19328)
+++ ffmpeg/libavcodec/ac3dec.c	(copie de travail)
@@ -819,15 +819,99 @@
 
     /* spectral extension strategy */
     if (s->eac3 && (!blk || get_bits1(gbc))) {

             if (cpl_start_subband >= cpl_end_subband) {
                 av_log(s->avctx, AV_LOG_ERROR, "invalid coupling range (%d >= %d)\n",
                        cpl_start_subband, cpl_end_subband);
@@ -938,8 +1023,11 @@
     if (channel_mode == AC3_CHMODE_STEREO) {
         if ((s->eac3 && !blk) || get_bits1(gbc)) {
             s->num_rematrixing_bands = 4;
