aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-11-21 00:50:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-11-24 21:02:57 +0100
commit1ff9c07fa696443d2d243e45d5794c8b19946a1b (patch)
treeabf1082787959e351cb12bc66f19f22a82abe03b
parentb2d1a258162a619187bbb0a72f7e8eb94f91cfa4 (diff)
downloadffmpeg-1ff9c07fa696443d2d243e45d5794c8b19946a1b.tar.gz
swscale/utils: Fix indentation
Forgotten after c1eb3e7fecdc270e03a700d61ef941600a6af491. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libswscale/utils.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 5a728afd89..90734f66ef 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1307,16 +1307,16 @@ static av_cold int sws_init_single_context(SwsContext *c, SwsFilter *srcFilter,
if (!(unscaled && sws_isSupportedEndiannessConversion(srcFormat) &&
av_pix_fmt_swap_endianness(srcFormat) == dstFormat)) {
- if (!sws_isSupportedInput(srcFormat)) {
- av_log(c, AV_LOG_ERROR, "%s is not supported as input pixel format\n",
- av_get_pix_fmt_name(srcFormat));
- return AVERROR(EINVAL);
- }
- if (!sws_isSupportedOutput(dstFormat)) {
- av_log(c, AV_LOG_ERROR, "%s is not supported as output pixel format\n",
- av_get_pix_fmt_name(dstFormat));
- return AVERROR(EINVAL);
- }
+ if (!sws_isSupportedInput(srcFormat)) {
+ av_log(c, AV_LOG_ERROR, "%s is not supported as input pixel format\n",
+ av_get_pix_fmt_name(srcFormat));
+ return AVERROR(EINVAL);
+ }
+ if (!sws_isSupportedOutput(dstFormat)) {
+ av_log(c, AV_LOG_ERROR, "%s is not supported as output pixel format\n",
+ av_get_pix_fmt_name(dstFormat));
+ return AVERROR(EINVAL);
+ }
}
av_assert2(desc_src && desc_dst);