1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

all: fix whitespace/new-line issues

This commit is contained in:
Timo Rothenpieler
2025-08-01 02:56:57 +02:00
parent ce0a655f85
commit 8d439b2483
50 changed files with 11 additions and 58 deletions

View File

@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
image: [ghcr.io/btbn/ffmpeg-builds/win64-gpl:latest]
image: ["ghcr.io/btbn/ffmpeg-builds/win64-gpl:latest"]
runs-on: linux-amd64
container: ${{ matrix.image }}
steps:

View File

@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@ -158,7 +158,7 @@ Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
@ -267,7 +267,7 @@ Library will still fall under Section 6.)
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
@ -422,7 +422,7 @@ conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest

View File

@ -70,4 +70,3 @@ make -j<num>
make -k
Continue build in case of errors, this is useful for the regression tests
sometimes but note that it will still not run all reg tests.

View File

@ -157,4 +157,3 @@ PFD[32] would for example be signed 32 bit little-endian IEEE float
@item XVID @tab non-compliant MPEG-4 generated by old Xvid
@item XVIX @tab non-compliant MPEG-4 generated by old Xvid with interlacing bug
@end multitable

0
doc/texi2pod.pl Normal file → Executable file
View File

0
doc/texidep.pl Normal file → Executable file
View File

View File

@ -44,4 +44,3 @@ a+b*c;
here the reader knows that a,b,c are meant to be signed integers but for C
standard compliance / to avoid undefined behavior they are stored in unsigned
ints.

View File

@ -48,4 +48,3 @@ function ff_scalarproduct_int16_neon, export=1
vmov.32 r0, d3[0]
bx lr
endfunc

View File

@ -88,4 +88,3 @@ const FFCodec ff_cljr_decoder = {
FF_CODEC_DECODE_CB(decode_frame),
.p.capabilities = AV_CODEC_CAP_DR1,
};

View File

@ -337,4 +337,3 @@ const AVDVProfile *av_dv_codec_profile2(int width, int height,
return p;
}

View File

@ -50,4 +50,3 @@ static inline int RENAME(get_context)(const int16_t quant_table[MAX_CONTEXT_INPU
quant_table[1][(LT - T) & MAX_QUANT_TABLE_MASK] +
quant_table[2][(T - RT) & MAX_QUANT_TABLE_MASK];
}

View File

@ -263,4 +263,3 @@ static int RENAME(encode_rgb_frame)(FFV1Context *f, FFV1SliceContext *sc,
}
return 0;
}

View File

@ -162,4 +162,3 @@ static void MCFUNC(hl_motion)(const H264Context *h, H264SliceContext *sl,
if (USES_LIST(mb_type, 1))
prefetch_motion(h, sl, 1, PIXEL_SHIFT, CHROMA_IDC);
}

View File

@ -1512,4 +1512,3 @@ void ff_hevc_hls_mvd_coding(HEVCLocalContext *lc, int x0, int y0, int log2_cb_si
case 0: lc->pu.mvd.y = 0; break;
}
}

View File

@ -45,4 +45,3 @@ enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *p
*loss_ptr = loss;
return best;
}

View File

@ -369,4 +369,3 @@ void RENAME(ff_imdct36_blocks)(INTFLOAT *out, INTFLOAT *buf, INTFLOAT *in,
out++;
}
}

View File

@ -336,4 +336,3 @@ int ff_msmpeg4_pred_dc(MpegEncContext *s, int n,
*dc_val_ptr = &dc_val[0];
return pred;
}

View File

@ -709,4 +709,3 @@ DECLARE_OHCODEC_ENCODER(h264, "H.264", AV_CODEC_ID_H264)
#if CONFIG_HEVC_OH_ENCODER
DECLARE_OHCODEC_ENCODER(hevc, "H.265", AV_CODEC_ID_HEVC)
#endif // CONFIG_HEVC_OH_ENCODER

View File

@ -466,4 +466,3 @@ fail:
av_channel_layout_uninit(&layout);
return ret;
}

View File

@ -858,5 +858,3 @@ av_cold void ff_dwt_init(SnowDWTContext *c)
ff_dwt_init_x86(c);
#endif
}

View File

@ -738,4 +738,3 @@ int ff_vvc_reconstruct(VVCLocalContext *lc, const int rs, const int rx, const in
ff_vvc_ctu_free_cus(fc->tab.cus + rs);
return ret;
}

View File

@ -251,4 +251,3 @@ void ff_hevc_sao_edge_filter_16x16_8_simd128(uint8_t *dst, const uint8_t *src,
dst += stride_dst;
}
}

View File

@ -49,4 +49,3 @@ void ff_hevc_sao_edge_filter_16x16_8_simd128(uint8_t *_dst, const uint8_t *_src,
int eo, int width, int height);
#endif

View File

@ -85,4 +85,3 @@ cglobal int32_to_float_fmul_array8, 5, 5, 5, c, dst, src, mul, len
INIT_XMM sse2
INT32_TO_FLOAT_FMUL_ARRAY8

View File

@ -104,4 +104,3 @@ cglobal pix_norm1, 2, 3, %1
INIT_XMM sse2
PIX_NORM1 6, 8

View File

@ -122,4 +122,3 @@ ff_bwdif_init_aarch64(BWDIFDSPContext *s, int bit_depth)
s->filter_edge = filter_edge_helper;
s->filter_line3 = filter_line3_helper;
}

View File

@ -137,4 +137,3 @@ const AVClass *ff_dnn_child_class_iterate_with_mask(void **iter, uint32_t backen
return NULL;
}

View File

@ -221,4 +221,3 @@ double ff_perlin_get(FFPerlin *perlin, double x, double y, double z)
return total / max_value;
}

View File

@ -67,4 +67,3 @@ int ff_qp_table_extract(AVFrame *frame, int8_t **table, int *table_w, int *table
return 0;
}

View File

@ -381,4 +381,3 @@ int ff_load_textfile(void *log_ctx, const char *textfile,
return 0;
}

View File

@ -51,4 +51,3 @@ __global__ void Overlay_Cuda(
}
}

View File

@ -177,4 +177,3 @@ const FFFilter ff_vf_quirc = {
FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_PIXFMTS_ARRAY(pix_fmts),
};

View File

@ -458,4 +458,4 @@ const FFFilter ff_vf_scale_d3d11 = {
FILTER_SINGLE_PIXFMT(AV_PIX_FMT_D3D11),
.p.flags = AVFILTER_FLAG_HWDEVICE,
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};
};

View File

@ -152,5 +152,3 @@ void ff_dash_fill_tmpl_params(char *dst, size_t buffer_size,
t_cur = t_next;
}
}

View File

@ -98,4 +98,3 @@ const FFInputFormat ff_g726le_demuxer = {
.raw_codec_id = AV_CODEC_ID_ADPCM_G726LE,
};
#endif

View File

@ -63,4 +63,3 @@ int ff_hls_senc_parse_audio_setup_info(AVStream *st, HLSAudioSetupInfo *info);
int ff_hls_senc_decrypt_frame(enum AVCodecID codec_id, HLSCryptoContext *crypto_ctx, AVPacket *pkt);
#endif /* AVFORMAT_HLS_SAMPLE_ENCRYPTION_H */

View File

@ -204,4 +204,3 @@ void ff_hls_write_end_list(AVIOContext *out)
return;
avio_printf(out, "#EXT-X-ENDLIST\n");
}

View File

@ -573,4 +573,3 @@ RDT_HANDLER(live_video, "x-pn-multirate-realvideo-live", AVMEDIA_TYPE_VIDEO);
RDT_HANDLER(live_audio, "x-pn-multirate-realaudio-live", AVMEDIA_TYPE_AUDIO);
RDT_HANDLER(video, "x-pn-realvideo", AVMEDIA_TYPE_VIDEO);
RDT_HANDLER(audio, "x-pn-realaudio", AVMEDIA_TYPE_AUDIO);

View File

@ -281,4 +281,3 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt)
return 0;
}

View File

@ -36,4 +36,3 @@ struct AVCUDADeviceContextInternal {
};
#endif /* AVUTIL_HWCONTEXT_CUDA_INTERNAL_H */

View File

@ -84,4 +84,3 @@ typedef struct AVQSVFramesContext {
} AVQSVFramesContext;
#endif /* AVUTIL_HWCONTEXT_QSV_H */

View File

@ -191,4 +191,3 @@ int main(void)
return 0;
}

View File

@ -39,4 +39,3 @@ size_t ff_get_cpu_max_align_wasm(void)
return 8;
#endif
}

View File

@ -127,4 +127,3 @@ struct Resampler const swri_soxr_resampler={
create, destroy, process, flush, NULL /* set_compensation */, get_delay,
invert_initial_buffer, get_out_samples
};

View File

@ -172,4 +172,3 @@ int swr_convert_frame(SwrContext *s,
return convert_frame(s, out, in);
}

View File

@ -43,4 +43,3 @@ const char *swresample_license(void)
#define LICENSE_PREFIX "libswresample license: "
return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1];
}

View File

@ -111,4 +111,3 @@ outpoint 00:00.40
file %SRCFILE%
inpoint 00:00.40

View File

@ -25,4 +25,3 @@ FATE_FFPROBE-$(call FILTERDEMDECENCMUX, AEVALSRC TESTSRC ARESAMPLE, FFMETADATA,
+= $(FFPROBE_TEST_FILE_TESTS-yes)
fate-ffprobe: $(FATE_FFPROBE-yes)

View File

@ -9,4 +9,3 @@ file %SRCFILE%
inpoint 00:00.20
outpoint 00:00.40
file_packet_meta dummy 1

View File

@ -18,4 +18,3 @@ inpoint 00:02.20
file %SRCFILE%
inpoint 00:01.80
outpoint 00:02.00