summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-10-23 00:02:41 +0300
committerMartin Storsjö <martin@martin.st>2012-10-29 22:00:43 +0200
commit9b500b8f6c9806f3979f9d1fb874b7f4a802c656 (patch)
tree88427520e9cc033bbe6e6c9e506856e440cf3dd1 /libavcodec/avcodec.h
parent8b25a20efbf4ca261bcd3327a385330eca775ec6 (diff)
avcodec: Add a RFC 3389 comfort noise codec
This isn't too useful as a normal codec, but can be used in voip style applications. The decoder updates the noise generator parameters when a packet is given to it for decoding, but if called with an empty packet, it generates more noise according to the last parameters. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index c505a922e3..d6a4e4d429 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -406,6 +406,7 @@ enum AVCodecID {
AV_CODEC_ID_IAC,
AV_CODEC_ID_ILBC,
AV_CODEC_ID_OPUS,
+ AV_CODEC_ID_COMFORT_NOISE,
/* subtitle codecs */
AV_CODEC_ID_FIRST_SUBTITLE = 0x17000, ///< A dummy ID pointing at the start of subtitle codecs.