[FFmpeg-devel] [PATCH 09/33] hack in hpeldsp.h to prevent duplicate definition of op_pixels_func
Ronald S. Bultje
rsbultje at gmail.com
Wed Feb 6 04:27:22 CET 2013
From: "Ronald S. Bultje" <rsbultje at gmail.com>
---
libavcodec/hpeldsp.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/hpeldsp.h b/libavcodec/hpeldsp.h
index 023aa5e..61e8748 100644
--- a/libavcodec/hpeldsp.h
+++ b/libavcodec/hpeldsp.h
@@ -30,10 +30,12 @@
#include <stdint.h>
+#ifndef AVCODEC_DSPUTIL_H // FIXME remove once op_pixels_func is removed from dsputil
/* add and put pixel (decoding) */
// blocksizes for op_pixels_func are 8x4,8x8 16x8 16x16
//h for op_pixels_func is limited to {width/2, width} but never larger than 16 and never smaller than 4
typedef void (*op_pixels_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int h);
+#endif
/**
* Half-pel DSP context.
--
1.7.11.3
More information about the ffmpeg-devel
mailing list