gecko-dev/media
Nathan Froyd cfb8fb313f Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
This patch was generated by running:

```
perl -p -i \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
     $FILE
```

against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes.  The errors fell into three categories:

1. Calling the convert functions with `std::string::c_str()`; these were
   changed to simply pass the string instead, relying on implicit conversion
   to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
   with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
   replacement not being type-aware.  These changes were reverted.

Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
..
audioipc Bug 1561207 - Update audio_thread_priority to 0.23.4 and use MOZ_ENABLE_DBUS to enable dbus usage. r=kinetik 2020-07-17 09:53:10 +00:00
ffvpx Bug 1657321 - ffvpx: undo build error workarounds. r=jya 2020-08-22 02:41:58 +00:00
gmp-clearkey/0.1 Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
kiss_fft
libaom Bug 1585470 - Remove duplicate cpu-features.c definition when building GV without webrtc r=glandium 2020-07-09 19:10:34 +00:00
libcubeb Bug 1598148 - P2: Update cubeb to a971bf1. r=kinetik 2020-07-09 09:10:46 +00:00
libdav1d Bug 1657200 - Update libdav1d to d0e50cac for Firefox 81. r=mjf 2020-08-26 17:42:07 +00:00
libjpeg
libmkv
libnestegg
libogg Bug 1625876 - Port libOgg usage code in the OGGDemuxer to use the RLBox API r=padenot 2020-04-22 11:41:42 +00:00
libopus Bug 1652675 - Define OPUS_ARM_MAY_HAVE_NEON{,_INTR} on non-android non-windows aarch64. r=kinetik 2020-07-15 22:07:50 +00:00
libpng
libsoundtouch
libspeex_resampler
libtheora
libtremor
libvorbis Bug 1463915 - Update libvorbis to 1.3.7. r=jya 2020-07-24 00:25:08 +00:00
libvpx Bug 1622013 - Build *_mmx.c files with -mmmx in bundled libvpx; r=bryce 2020-04-13 15:34:42 +00:00
libwebp
libyuv
mp4parse-rust Bug 1646936 - Generate a single metadata file in the objdir, and feed it to cbindgen. r=glandium 2020-06-26 10:41:26 +00:00
mtransport Bug 1659132 - Make AddrInfo immutable r=dragana,necko-reviewers 2020-09-01 07:22:14 +00:00
openmax_dl
openmax_il/il112
psshparser
webrtc Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
moz.build
update-libjpeg.sh