Преглед на файлове

all: fix whitespace/new-line issues

Timo Rothenpieler преди 3 месеца
родител
ревизия
8d439b2483
променени са 48 файла, в които са добавени 11 реда и са изтрити 58 реда
  1. 1 1
      .forgejo/workflows/test.yml
  2. 9 9
      COPYING.LGPLv2.1
  3. 0 1
      doc/build_system.txt
  4. 0 1
      doc/nut.texi
  5. 0 1
      doc/texi2pod.pl
  6. 0 1
      libavcodec/arm/int_neon.S
  7. 0 1
      libavcodec/cljrdec.c
  8. 0 1
      libavcodec/dv_profile.c
  9. 0 1
      libavcodec/ffv1_template.c
  10. 0 1
      libavcodec/ffv1enc_template.c
  11. 0 1
      libavcodec/h264_mc_template.c
  12. 0 1
      libavcodec/hevc/cabac.c
  13. 0 1
      libavcodec/imgconvert.c
  14. 0 1
      libavcodec/mpegaudiodsp_template.c
  15. 0 1
      libavcodec/msmpeg4.c
  16. 0 1
      libavcodec/ohenc.c
  17. 0 1
      libavcodec/opus/parse.c
  18. 0 2
      libavcodec/snow_dwt.c
  19. 0 1
      libavcodec/vvc/intra.c
  20. 0 1
      libavcodec/wasm/hevc/sao.c
  21. 0 1
      libavcodec/wasm/hevc/sao.h
  22. 0 1
      libavcodec/x86/fmtconvert.asm
  23. 0 1
      libavcodec/x86/mpegvideoencdsp.asm
  24. 0 1
      libavfilter/aarch64/vf_bwdif_init_aarch64.c
  25. 0 1
      libavfilter/dnn/dnn_interface.c
  26. 0 1
      libavfilter/perlin.c
  27. 0 1
      libavfilter/qp_table.c
  28. 0 1
      libavfilter/textutils.c
  29. 0 1
      libavfilter/vf_overlay_cuda.cu
  30. 0 1
      libavfilter/vf_quirc.c
  31. 1 1
      libavfilter/vf_scale_d3d11.c
  32. 0 2
      libavformat/dash.c
  33. 0 1
      libavformat/g726.c
  34. 0 1
      libavformat/hls_sample_encryption.h
  35. 0 1
      libavformat/hlsplaylist.c
  36. 0 1
      libavformat/rdt.c
  37. 0 1
      libavutil/aes.c
  38. 0 1
      libavutil/hwcontext_cuda_internal.h
  39. 0 1
      libavutil/hwcontext_qsv.h
  40. 0 1
      libavutil/tests/blowfish.c
  41. 0 1
      libavutil/wasm/cpu.c
  42. 0 1
      libswresample/soxr_resample.c
  43. 0 1
      libswresample/swresample_frame.c
  44. 0 1
      libswresample/version.c
  45. 0 1
      tests/extended.ffconcat
  46. 0 1
      tests/fate/ffprobe.mak
  47. 0 1
      tests/simple1.ffconcat
  48. 0 1
      tests/simple2.ffconcat

+ 1 - 1
.forgejo/workflows/test.yml

@@ -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:

+ 9 - 9
COPYING.LGPLv2.1

@@ -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

+ 0 - 1
doc/build_system.txt

@@ -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.
-

+ 0 - 1
doc/nut.texi

@@ -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 - 1
doc/texi2pod.pl

@@ -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.
-

+ 0 - 1
libavcodec/arm/int_neon.S

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

+ 0 - 1
libavcodec/cljrdec.c

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

+ 0 - 1
libavcodec/dv_profile.c

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

+ 0 - 1
libavcodec/ffv1_template.c

@@ -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];
 }
-

+ 0 - 1
libavcodec/ffv1enc_template.c

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

+ 0 - 1
libavcodec/h264_mc_template.c

@@ -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);
 }
-

+ 0 - 1
libavcodec/hevc/cabac.c

@@ -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;
     }
 }
-

+ 0 - 1
libavcodec/imgconvert.c

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

+ 0 - 1
libavcodec/mpegaudiodsp_template.c

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

+ 0 - 1
libavcodec/msmpeg4.c

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

+ 0 - 1
libavcodec/ohenc.c

@@ -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
-

+ 0 - 1
libavcodec/opus/parse.c

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

+ 0 - 2
libavcodec/snow_dwt.c

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

+ 0 - 1
libavcodec/vvc/intra.c

@@ -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;
 }
-

+ 0 - 1
libavcodec/wasm/hevc/sao.c

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

+ 0 - 1
libavcodec/wasm/hevc/sao.h

@@ -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
-

+ 0 - 1
libavcodec/x86/fmtconvert.asm

@@ -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
-

+ 0 - 1
libavcodec/x86/mpegvideoencdsp.asm

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

+ 0 - 1
libavfilter/aarch64/vf_bwdif_init_aarch64.c

@@ -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;
 }
-

+ 0 - 1
libavfilter/dnn/dnn_interface.c

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

+ 0 - 1
libavfilter/perlin.c

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

+ 0 - 1
libavfilter/qp_table.c

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

+ 0 - 1
libavfilter/textutils.c

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

+ 0 - 1
libavfilter/vf_overlay_cuda.cu

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

+ 0 - 1
libavfilter/vf_quirc.c

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

+ 1 - 1
libavfilter/vf_scale_d3d11.c

@@ -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,
-};
+};

+ 0 - 2
libavformat/dash.c

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

+ 0 - 1
libavformat/g726.c

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

+ 0 - 1
libavformat/hls_sample_encryption.h

@@ -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 */
-

+ 0 - 1
libavformat/hlsplaylist.c

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

+ 0 - 1
libavformat/rdt.c

@@ -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);
-

+ 0 - 1
libavutil/aes.c

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

+ 0 - 1
libavutil/hwcontext_cuda_internal.h

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

+ 0 - 1
libavutil/hwcontext_qsv.h

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

+ 0 - 1
libavutil/tests/blowfish.c

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

+ 0 - 1
libavutil/wasm/cpu.c

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

+ 0 - 1
libswresample/soxr_resample.c

@@ -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
 };
-

+ 0 - 1
libswresample/swresample_frame.c

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

+ 0 - 1
libswresample/version.c

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

+ 0 - 1
tests/extended.ffconcat

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

+ 0 - 1
tests/fate/ffprobe.mak

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

+ 0 - 1
tests/simple1.ffconcat

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

+ 0 - 1
tests/simple2.ffconcat

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