diff asf.c @ 1167:d89d7ef290da libavformat

give AVInput/OutputFormat structs consistent names
author mru
date Sun, 09 Jul 2006 23:40:53 +0000
parents 801d4a5cf353
children d18cc9a1fd02
line wrap: on
line diff
--- a/asf.c	Sun Jul 09 10:33:49 2006 +0000
+++ b/asf.c	Sun Jul 09 23:40:53 2006 +0000
@@ -840,7 +840,7 @@
     return 0;
 }
 
-static AVInputFormat asf_iformat = {
+static AVInputFormat asf_demuxer = {
     "asf",
     "asf format",
     sizeof(ASFContext),
@@ -853,16 +853,16 @@
 };
 
 #ifdef CONFIG_MUXERS
-    extern AVOutputFormat asf_oformat;
-    extern AVOutputFormat asf_stream_oformat;
+    extern AVOutputFormat asf_muxer;
+    extern AVOutputFormat asf_stream_muxer;
 #endif //CONFIG_MUXERS
 
 int asf_init(void)
 {
-    av_register_input_format(&asf_iformat);
+    av_register_input_format(&asf_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&asf_oformat);
-    av_register_output_format(&asf_stream_oformat);
+    av_register_output_format(&asf_muxer);
+    av_register_output_format(&asf_stream_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }