mbox series

[FFmpeg-devel,v6,0/3] use av_fopen_utf8() instead of plain fopen()

Message ID pull.26.v6.ffstaging.FFmpeg.1653002114.ffmpegagent@gmail.com
Headers show
Series use av_fopen_utf8() instead of plain fopen() | expand

Message

Aman Karmani May 19, 2022, 11:15 p.m. UTC
Unify file access operations by replacing usages of direct calls to posix
fopen()

v2: Remove changes to fftools for now
v3: Add some additional replacements
v4: Fix and improve commit messages
v5: Add patch to remap ff_open in libavfilter for MSVC on Windows
v6: Add avfilter/file_open.c to "Files without standard license headers"
list

softworkz (3):
  avfilter: use av_fopen_utf8() instead of plain fopen()
  avcodec/dvdsubdec: use av_fopen_utf8() instead of plain fopen()
  avfilter: Make avpriv_open a library-internal function on msvcrt

 libavcodec/dvdsubdec.c            | 2 +-
 libavfilter/Makefile              | 1 +
 libavfilter/af_firequalizer.c     | 2 +-
 libavfilter/file_open.c           | 1 +
 libavfilter/vf_deshake.c          | 2 +-
 libavfilter/vf_psnr.c             | 2 +-
 libavfilter/vf_signature.c        | 4 ++--
 libavfilter/vf_ssim.c             | 2 +-
 libavfilter/vf_vidstabdetect.c    | 2 +-
 libavfilter/vf_vidstabtransform.c | 2 +-
 libavfilter/vf_vmafmotion.c       | 2 +-
 tests/ref/fate/source             | 1 +
 12 files changed, 13 insertions(+), 10 deletions(-)
 create mode 100644 libavfilter/file_open.c


base-commit: 41a558fea06cc0a23b8d2d0dfb03ef6a25cf5100
Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-26%2Fsoftworkz%2Fsubmit_replace_fopen-v6
Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-26/softworkz/submit_replace_fopen-v6
Pull-Request: https://github.com/ffstaging/FFmpeg/pull/26

Range-diff vs v5:

 1:  bcafcfacea = 1:  bcafcfacea avfilter: use av_fopen_utf8() instead of plain fopen()
 2:  94d023ece3 = 2:  94d023ece3 avcodec/dvdsubdec: use av_fopen_utf8() instead of plain fopen()
 3:  5e50103af3 ! 3:  4035d5dd7b avfilter: Make avpriv_open a library-internal function on msvcrt
     @@ libavfilter/Makefile: OBJS = allfilters.o
       ## libavfilter/file_open.c (new) ##
      @@
      +#include "libavutil/file_open.c"
     +
     + ## tests/ref/fate/source ##
     +@@ tests/ref/fate/source: libavcodec/reverse.c
     + libavdevice/file_open.c
     + libavdevice/reverse.c
     + libavfilter/af_arnndn.c
     ++libavfilter/file_open.c
     + libavfilter/log2_tab.c
     + libavformat/file_open.c
     + libavformat/golomb_tab.c