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
4359 $action $(rand_list "$@" | awk "BEGIN { srand($random_seed) } \$1 == \"prob\" { prob = \$2; next } rand() < prob { print }")4359 $action $(rand_list "$@" | awk "BEGIN { srand($random_seed) } \$1 == \"prob\" { prob = \$2; next } rand() < prob { print }")
4360}4360}
4361 4361
4362# deprecated components (disabled by default)
4363disable sonic_encoder sonic_ls_encoder
4364
4362for opt do4365for opt do
4363 optval="${opt#*=}"4366 optval="${opt#*=}"
4364 case "$opt" in4367 case "$opt" in
libavcodec/version_major.h+4−0
@@ -52,5 +52,9 @@ · 51 unmodified lines
52 52
53// reminder to remove the OMX encoder on next major bump53// reminder to remove the OMX encoder on next major bump
54#define FF_CODEC_OMX (LIBAVCODEC_VERSION_MAJOR < 62)54#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)
55 59
56#endif /* AVCODEC_VERSION_MAJOR_H */60#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