[asterisk-commits] rizzo: trunk r89427 - /trunk/formats/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 19 13:41:17 CST 2007


Author: rizzo
Date: Mon Nov 19 13:41:16 2007
New Revision: 89427

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89427
Log:
format handlers don't need network, lock, channel and scheduler headers

Modified:
    trunk/formats/format_g723.c
    trunk/formats/format_g726.c
    trunk/formats/format_g729.c
    trunk/formats/format_gsm.c
    trunk/formats/format_h263.c
    trunk/formats/format_h264.c
    trunk/formats/format_ilbc.c
    trunk/formats/format_jpeg.c
    trunk/formats/format_ogg_vorbis.c
    trunk/formats/format_pcm.c
    trunk/formats/format_sln.c
    trunk/formats/format_vox.c
    trunk/formats/format_wav.c
    trunk/formats/format_wav_gsm.c

Modified: trunk/formats/format_g723.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_g723.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_g723.c (original)
+++ trunk/formats/format_g723.c Mon Nov 19 13:41:16 2007
@@ -29,14 +29,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 
 #define G723_MAX_SIZE 1024

Modified: trunk/formats/format_g726.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_g726.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_g726.c (original)
+++ trunk/formats/format_g726.c Mon Nov 19 13:41:16 2007
@@ -32,15 +32,8 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
 #include "asterisk/options.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_g729.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_g729.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_g729.c (original)
+++ trunk/formats/format_g729.c Mon Nov 19 13:41:16 2007
@@ -30,15 +30,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-#include <errno.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_gsm.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_gsm.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_gsm.c (original)
+++ trunk/formats/format_gsm.c Mon Nov 19 13:41:16 2007
@@ -27,14 +27,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_h263.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_h263.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_h263.c (original)
+++ trunk/formats/format_h263.c Mon Nov 19 13:41:16 2007
@@ -28,14 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_h264.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_h264.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_h264.c (original)
+++ trunk/formats/format_h264.c Mon Nov 19 13:41:16 2007
@@ -28,14 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_ilbc.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_ilbc.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_ilbc.c (original)
+++ trunk/formats/format_ilbc.c Mon Nov 19 13:41:16 2007
@@ -29,14 +29,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_jpeg.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_jpeg.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_jpeg.c (original)
+++ trunk/formats/format_jpeg.c Mon Nov 19 13:41:16 2007
@@ -28,16 +28,9 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/image.h"
-#include "asterisk/lock.h"
 #include "asterisk/endian.h"
 
 static struct ast_frame *jpeg_read_image(int fd, int len)

Modified: trunk/formats/format_ogg_vorbis.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_ogg_vorbis.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_ogg_vorbis.c (original)
+++ trunk/formats/format_ogg_vorbis.c Mon Nov 19 13:41:16 2007
@@ -34,10 +34,6 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
 #include <vorbis/codec.h>
 #include <vorbis/vorbisenc.h>
 
@@ -46,8 +42,6 @@
 #include <fcntl.h>
 #endif
 
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
 #include "asterisk/module.h"
 #include "asterisk/options.h"

Modified: trunk/formats/format_pcm.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_pcm.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_pcm.c (original)
+++ trunk/formats/format_pcm.c Mon Nov 19 13:41:16 2007
@@ -28,13 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 #include "asterisk/ulaw.h"

Modified: trunk/formats/format_sln.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_sln.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_sln.c (original)
+++ trunk/formats/format_sln.c Mon Nov 19 13:41:16 2007
@@ -26,14 +26,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_vox.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_vox.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_vox.c (original)
+++ trunk/formats/format_vox.c Mon Nov 19 13:41:16 2007
@@ -28,14 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_wav.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_wav.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_wav.c (original)
+++ trunk/formats/format_wav.c Mon Nov 19 13:41:16 2007
@@ -28,14 +28,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 

Modified: trunk/formats/format_wav_gsm.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_wav_gsm.c?view=diff&rev=89427&r1=89426&r2=89427
==============================================================================
--- trunk/formats/format_wav_gsm.c (original)
+++ trunk/formats/format_wav_gsm.c Mon Nov 19 13:41:16 2007
@@ -31,14 +31,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <sys/time.h>
-
-#include "asterisk/lock.h"
-#include "asterisk/channel.h"
 #include "asterisk/file.h"
-#include "asterisk/sched.h"
 #include "asterisk/module.h"
 #include "asterisk/endian.h"
 




More information about the asterisk-commits mailing list