diff --git a/libavcodec/Makefile b/libavcodec/Makefile index e937c4b9fa..0c94af76c3 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -783,6 +783,7 @@ TESTPROGS = cabac \ fft-fixed \ golomb \ iirfilter \ + imgconvert \ rangecoder \ snowenc \ diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 2ba4a6ae09..c45203e832 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -974,3 +974,18 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src, emms_c(); return 0; } + +#ifdef TEST + +int main(void){ + int i; + for (i=0; iname, is_yuv_planar(i)); + } + return 0; +} + +#endif