Largely simplify format handlers (for file copy etc.)
authorLuigi Rizzo <rizzo@icir.org>
Tue, 4 Apr 2006 12:59:25 +0000 (12:59 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 4 Apr 2006 12:59:25 +0000 (12:59 +0000)
commit4beb6deeaa99b3908c3715c2dc70b5f0e3e21c44
treec2ca953ad9722e235aa0205ca61e6b6a59c5e9e5
parentec67c650adeb3437700c3ba547364530e6c7d090
Largely simplify format handlers (for file copy etc.)
collecting common functions in a single place and removing
them from the individual handlers.
The full description is on mantis,
http://bugs.digium.com/view.php?id=6375
and only the ogg_vorbis handler needs to be converted to
the new structure.

As a result of this change, format_au.c and format_pcm_alaw.c
should go away (in a separate commit) as their functionality
(trivial) has been merged in another file.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 files changed:
file.c
formats/Makefile
formats/format_au.c
formats/format_g723.c
formats/format_g726.c
formats/format_g729.c
formats/format_gsm.c
formats/format_h263.c
formats/format_h264.c
formats/format_ilbc.c
formats/format_ogg_vorbis.c
formats/format_pcm.c
formats/format_pcm_alaw.c
formats/format_sln.c
formats/format_vox.c
formats/format_wav.c
formats/format_wav_gsm.c
include/asterisk/file.h