]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmavoice.c
mpegaudiodec: move imdct and windowing function to mpegaudiodsp
[ffmpeg] / libavcodec / wmavoice.c
index 6f3a6b2372a2dca7b67e7c3f4708092ef214545e..8854e35d936dea5aa1cf7bda1ad2c87f03436d9e 100644 (file)
@@ -25,6 +25,8 @@
  * @author Ronald S. Bultje <rsbultje@gmail.com>
  */
 
+#define UNCHECKED_BITSTREAM_READER 1
+
 #include <math.h>
 #include "avcodec.h"
 #include "get_bits.h"
@@ -189,7 +191,7 @@ typedef struct {
      * @{
      */
     int spillover_nbits;          ///< number of bits of the previous packet's
-                                  ///< last superframe preceeding this
+                                  ///< last superframe preceding this
                                   ///< packet's first full superframe (useful
                                   ///< for re-synchronization also)
     int has_residual_lsps;        ///< if set, superframes contain one set of
@@ -1805,7 +1807,7 @@ static int synth_superframe(AVCodecContext *ctx, int *got_frame_ptr)
     s->frame.nb_samples = n_samples;
     samples = (float *)s->frame.data[0];
 
-    /* Parse frames, optionally preceeded by per-frame (independent) LSPs. */
+    /* Parse frames, optionally preceded by per-frame (independent) LSPs. */
     for (n = 0; n < 3; n++) {
         if (!s->has_residual_lsps) {
             int m;