summaryrefslogtreecommitdiff
path: root/libavcodec/imgconvert.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-03-03 08:23:08 -0800
committerMichael Niedermayer <michaelni@gmx.at>2013-03-03 21:11:48 +0100
commit2cffe38df3df8ee1ec0fea0b2a2d3fed6e75da0d (patch)
treedab880ca9080ed4e999efaef60a4ca54293b1be3 /libavcodec/imgconvert.c
parent9af8179cdb5eb05e9b29b0a4d0c363d22b674e95 (diff)
Deprecate deinterlaced in libavcodec.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 7b5be5ccd2..6c3bb368ec 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -492,6 +492,8 @@ int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width,
return 0;
}
+#if FF_API_DEINTERLACE
+
#if !HAVE_MMX_EXTERNAL
/* filter parameters: [-1 4 2 4 -1] // 8 */
static void deinterlace_line_c(uint8_t *dst,
@@ -651,6 +653,8 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
return 0;
}
+#endif /* FF_API_DEINTERLACE */
+
#ifdef TEST
int main(void){