]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/faanidct.c
Tweak texi2pod.pl to make it print the various sections in the
[ffmpeg] / libavcodec / faanidct.c
index f7bea3e083b0bc042d11ee8fe7acd339e5107ead..dc3d8fbb812b743d83b2cdba65140f9e4278afce 100644 (file)
@@ -18,8 +18,9 @@
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#include "mpegvideo.h"
+#include "faanidct.h"
 
+/* To allow switching to double. */
 #define FLOAT float
 
 #define B0 1.0000000000000000000000
@@ -47,7 +48,7 @@ B7*B0/8, B7*B1/8, B7*B2/8, B7*B3/8, B7*B4/8, B7*B5/8, B7*B6/8, B7*B7/8,
 
 static inline void p8idct(DCTELEM data[64], FLOAT temp[64], uint8_t *dest, int stride, int x, int y, int type){
     int i;
-    FLOAT tmp0;
+    FLOAT av_unused tmp0;
     FLOAT s04, d04, s17, d17, s26, d26, s53, d53;
     FLOAT os07, os16, os25, os34;
     FLOAT od07, od16, od25, od34;