summaryrefslogtreecommitdiff
path: root/libavfilter/vf_normalize.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-29 15:57:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 18:58:29 +0200
commit31a373ce71a10f50a603149e4201280996ff7ed1 (patch)
tree4eca13e4a1b76a8f068078a43a3e21acb556ec37 /libavfilter/vf_normalize.c
parent71f9f7dc735eedea27839b51ca0e606b27dbe2f4 (diff)
downloadffmpeg-31a373ce71a10f50a603149e4201280996ff7ed1.tar.gz
avfilter: Reindentation after query_formats changes
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_normalize.c')
-rw-r--r--libavfilter/vf_normalize.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c
index 55cb76ef2d..43ed3c67b3 100644
--- a/libavfilter/vf_normalize.c
+++ b/libavfilter/vf_normalize.c
@@ -388,24 +388,24 @@ static void normalize(NormalizeContext *s, AVFrame *in, AVFrame *out)
// The pixel formats that our filter supports. We should be able to process
// any 8-bit RGB formats. 16-bit support might be useful one day.
- static const enum AVPixelFormat pixel_fmts[] = {
- AV_PIX_FMT_RGB24,
- AV_PIX_FMT_BGR24,
- AV_PIX_FMT_ARGB,
- AV_PIX_FMT_RGBA,
- AV_PIX_FMT_ABGR,
- AV_PIX_FMT_BGRA,
- AV_PIX_FMT_0RGB,
- AV_PIX_FMT_RGB0,
- AV_PIX_FMT_0BGR,
- AV_PIX_FMT_BGR0,
- AV_PIX_FMT_RGB48, AV_PIX_FMT_BGR48,
- AV_PIX_FMT_RGBA64, AV_PIX_FMT_BGRA64,
- AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
- AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14, AV_PIX_FMT_GBRP16,
- AV_PIX_FMT_GBRAP, AV_PIX_FMT_GBRAP10, AV_PIX_FMT_GBRAP12, AV_PIX_FMT_GBRAP16,
- AV_PIX_FMT_NONE
- };
+static const enum AVPixelFormat pixel_fmts[] = {
+ AV_PIX_FMT_RGB24,
+ AV_PIX_FMT_BGR24,
+ AV_PIX_FMT_ARGB,
+ AV_PIX_FMT_RGBA,
+ AV_PIX_FMT_ABGR,
+ AV_PIX_FMT_BGRA,
+ AV_PIX_FMT_0RGB,
+ AV_PIX_FMT_RGB0,
+ AV_PIX_FMT_0BGR,
+ AV_PIX_FMT_BGR0,
+ AV_PIX_FMT_RGB48, AV_PIX_FMT_BGR48,
+ AV_PIX_FMT_RGBA64, AV_PIX_FMT_BGRA64,
+ AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
+ AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14, AV_PIX_FMT_GBRP16,
+ AV_PIX_FMT_GBRAP, AV_PIX_FMT_GBRAP10, AV_PIX_FMT_GBRAP12, AV_PIX_FMT_GBRAP16,
+ AV_PIX_FMT_NONE
+};
// At this point we know the pixel format used for both input and output. We
// can also access the frame rate of the input video and allocate some memory