History

avcodec: deprecate sonic

This is an experimental and research codec of which ffmpeg is the only encoder and decoder, development has stalled since 2013 and these files don't exist in the wild. Deprecate the encoders to be removed next major bump, decoders to be removed one bump afterwards. We also disable the the encoders by default in configure, the decoders should be disabled by default next bump.

J. Dekker committed 2 years ago

Commit d89fbfd1 parent 19f7dae2 files · +7 −0Browse files

Unified · Split

2 files
  1. configure +3 −0
  2. libavcodec/version_major.h +4 −0
configure+3−0
@@ -4359,6 +4359,9 @@ do_random(){ · 4358 unmodified lines
43594359 $action $(rand_list "$@" | awk "BEGIN { srand($random_seed) } \$1 == \"prob\" { prob = \$2; next } rand() < prob { print }")
43604360 }
43614361
4362+# deprecated components (disabled by default)
4363+disable sonic_encoder sonic_ls_encoder
4364+
43624365 for opt do
43634366 optval="${opt#*=}"
43644367 case "$opt" in
libavcodec/version_major.h+4−0
@@ -52,5 +52,9 @@ · 51 unmodified lines
5252
5353 // reminder to remove the OMX encoder on next major bump
5454 #define FF_CODEC_OMX (LIBAVCODEC_VERSION_MAJOR < 62)
55+// reminder to remove Sonic Lossy/Lossless encoders on next major bump
56+#define FF_CODEC_SONIC_ENC (LIBAVCODEC_VERSION_MAJOR < 62)
57+// reminder to remove Sonic decoder on next-next major bump
58+#define FF_CODEC_SONIC_DEC (LIBAVCODEC_VERSION_MAJOR < 63)
5559
5660 #endif /* AVCODEC_VERSION_MAJOR_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t