]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sun, 4 Dec 2011 12:16:54 +0000 (12:16 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Sun, 4 Dec 2011 12:16:54 +0000 (12:16 +0000)
modules/ffmpeg/producer/filter/filter.cpp

index f3f5557310ad5b8bc4065770b1e96a1591e0eae5..243fee8dcf4278c2b9fd8b5f3dd1c58b8363f1e7 100644 (file)
@@ -54,25 +54,25 @@ extern "C"
 \r
 namespace caspar { namespace ffmpeg {\r
 \r
-static int query_formats_444(AVFilterContext *ctx)
-{
-    static const int pix_fmts[] = {PIX_FMT_YUV444P, PIX_FMT_NONE};
-    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));
-    return 0;
+static int query_formats_444(AVFilterContext *ctx)\r
+{\r
+    static const int pix_fmts[] = {PIX_FMT_YUV444P, PIX_FMT_NONE};\r
+    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));\r
+    return 0;\r
 }\r
 \r
-static int query_formats_422(AVFilterContext *ctx)
-{
-    static const int pix_fmts[] = {PIX_FMT_YUV422P, PIX_FMT_NONE};
-    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));
-    return 0;
+static int query_formats_422(AVFilterContext *ctx)\r
+{\r
+    static const int pix_fmts[] = {PIX_FMT_YUV422P, PIX_FMT_NONE};\r
+    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));\r
+    return 0;\r
 }\r
 \r
-static int query_formats_420(AVFilterContext *ctx)
-{
-    static const int pix_fmts[] = {PIX_FMT_YUV420P, PIX_FMT_NONE};
-    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));
-    return 0;
+static int query_formats_420(AVFilterContext *ctx)\r
+{\r
+    static const int pix_fmts[] = {PIX_FMT_YUV420P, PIX_FMT_NONE};\r
+    avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts));\r
+    return 0;\r
 }\r
 \r
 struct filter::implementation\r