[FFmpeg-cvslog] avcodec: dct/rdft only support float mode, skip their contents for fixed point

Michael Niedermayer git at videolan.org
Wed Jul 23 00:28:17 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 22 23:57:30 2014 +0200| [77304cf3523cbeec56a29749fea5c21e610be644] | committer: Michael Niedermayer

avcodec: dct/rdft only support float mode, skip their contents for fixed point

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77304cf3523cbeec56a29749fea5c21e610be644
---

 libavcodec/dct.h  |    2 +-
 libavcodec/rdft.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dct.h b/libavcodec/dct.h
index 9238449..717f21b 100644
--- a/libavcodec/dct.h
+++ b/libavcodec/dct.h
@@ -21,7 +21,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef AVCODEC_DCT_H
+#if !defined(AVCODEC_DCT_H) && (!defined(FFT_FLOAT) || FFT_FLOAT)
 #define AVCODEC_DCT_H
 
 #include <stdint.h>
diff --git a/libavcodec/rdft.h b/libavcodec/rdft.h
index 5fb0323..37c40e7 100644
--- a/libavcodec/rdft.h
+++ b/libavcodec/rdft.h
@@ -19,7 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_RDFT_H
+#if !defined(AVCODEC_RDFT_H) && (!defined(FFT_FLOAT) || FFT_FLOAT)
 #define AVCODEC_RDFT_H
 
 #include "config.h"



More information about the ffmpeg-cvslog mailing list