changeset 1174:1c9ddfd961d6 libavformat

add lost raw pcm input/output formats
author mru
date Thu, 13 Jul 2006 08:05:42 +0000
parents fefbbffb5923
children 8b53c0f3e7ad
files allformats.c allformats.h
diffstat 2 files changed, 64 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.c	Wed Jul 12 00:10:12 2006 +0000
+++ b/allformats.c	Thu Jul 13 08:05:42 2006 +0000
@@ -323,6 +323,54 @@
 #ifdef CONFIG_MJPEG_MUXER
     av_register_output_format(&mjpeg_muxer);
 #endif
+#ifdef CONFIG_PCM_S16LE_DEMUXER
+    av_register_input_format(&pcm_s16le_demuxer);
+#endif
+#ifdef CONFIG_PCM_S16LE_MUXER
+    av_register_output_format(&pcm_s16le_muxer);
+#endif
+#ifdef CONFIG_PCM_S16BE_DEMUXER
+    av_register_input_format(&pcm_s16be_demuxer);
+#endif
+#ifdef CONFIG_PCM_S16BE_MUXER
+    av_register_output_format(&pcm_s16be_muxer);
+#endif
+#ifdef CONFIG_PCM_U16LE_DEMUXER
+    av_register_input_format(&pcm_u16le_demuxer);
+#endif
+#ifdef CONFIG_PCM_U16LE_MUXER
+    av_register_output_format(&pcm_u16le_muxer);
+#endif
+#ifdef CONFIG_PCM_U16BE_DEMUXER
+    av_register_input_format(&pcm_u16be_demuxer);
+#endif
+#ifdef CONFIG_PCM_U16BE_MUXER
+    av_register_output_format(&pcm_u16be_muxer);
+#endif
+#ifdef CONFIG_PCM_S8_DEMUXER
+    av_register_input_format(&pcm_s8_demuxer);
+#endif
+#ifdef CONFIG_PCM_S8_MUXER
+    av_register_output_format(&pcm_s8_muxer);
+#endif
+#ifdef CONFIG_PCM_U8_DEMUXER
+    av_register_input_format(&pcm_u8_demuxer);
+#endif
+#ifdef CONFIG_PCM_U8_MUXER
+    av_register_output_format(&pcm_u8_muxer);
+#endif
+#ifdef CONFIG_PCM_MULAW_DEMUXER
+    av_register_input_format(&pcm_mulaw_demuxer);
+#endif
+#ifdef CONFIG_PCM_MULAW_MUXER
+    av_register_output_format(&pcm_mulaw_muxer);
+#endif
+#ifdef CONFIG_PCM_ALAW_DEMUXER
+    av_register_input_format(&pcm_alaw_demuxer);
+#endif
+#ifdef CONFIG_PCM_ALAW_MUXER
+    av_register_output_format(&pcm_alaw_muxer);
+#endif
 #ifdef CONFIG_RAWVIDEO_DEMUXER
     av_register_input_format(&rawvideo_demuxer);
 #endif
--- a/allformats.h	Wed Jul 12 00:10:12 2006 +0000
+++ b/allformats.h	Thu Jul 13 08:05:42 2006 +0000
@@ -96,6 +96,22 @@
 extern AVInputFormat mjpeg_demuxer;
 extern AVInputFormat ingenient_demuxer;
 extern AVOutputFormat mjpeg_muxer;
+extern AVInputFormat pcm_s16le_demuxer;
+extern AVOutputFormat pcm_s16le_muxer;
+extern AVInputFormat pcm_s16be_demuxer;
+extern AVOutputFormat pcm_s16be_muxer;
+extern AVInputFormat pcm_u16le_demuxer;
+extern AVOutputFormat pcm_u16le_muxer;
+extern AVInputFormat pcm_u16be_demuxer;
+extern AVOutputFormat pcm_u16be_muxer;
+extern AVInputFormat pcm_s8_demuxer;
+extern AVOutputFormat pcm_s8_muxer;
+extern AVInputFormat pcm_u8_demuxer;
+extern AVOutputFormat pcm_u8_muxer;
+extern AVInputFormat pcm_mulaw_demuxer;
+extern AVOutputFormat pcm_mulaw_muxer;
+extern AVInputFormat pcm_alaw_demuxer;
+extern AVOutputFormat pcm_alaw_muxer;
 extern AVInputFormat rawvideo_demuxer;
 extern AVOutputFormat rawvideo_muxer;
 extern AVOutputFormat null_muxer;