]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_ogg_speex: Implement a "not supported" write handler
authorKevin Harwell <kharwell@sangoma.com>
Tue, 3 Aug 2021 16:30:54 +0000 (11:30 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 6 Aug 2021 12:52:02 +0000 (07:52 -0500)
commit049c7c13617b8204ec9c8bb5d2234b8047efa6f0
tree62eb0999b5d3af20c98b37996fc234b00c303405
parentb5709e610e4829bb976a325d7c9590540a823794
format_ogg_speex: Implement a "not supported" write handler

This format did not specify a "write" handler, so when attempting to write
to it (ast_writestream) a crash would occur.

This patch adds a default handler that simply issues a "not supported"
warning, thus no longer crashing.

ASTERISK-29539

Change-Id: I8f6ddc7cc3b15da30803be3b1cf68e2ba0fbce91
formats/format_ogg_speex.c