diff mp3.c @ 1167:d89d7ef290da libavformat

give AVInput/OutputFormat structs consistent names
author mru
date Sun, 09 Jul 2006 23:40:53 +0000
parents 921c8af78310
children d18cc9a1fd02
line wrap: on
line diff
--- a/mp3.c	Sun Jul 09 10:33:49 2006 +0000
+++ b/mp3.c	Sun Jul 09 23:40:53 2006 +0000
@@ -368,7 +368,7 @@
 }
 #endif //CONFIG_MUXERS
 
-AVInputFormat mp3_iformat = {
+AVInputFormat mp3_demuxer = {
     "mp3",
     "MPEG audio",
     0,
@@ -380,7 +380,7 @@
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat mp2_oformat = {
+AVOutputFormat mp2_muxer = {
     "mp2",
     "MPEG audio layer 2",
     "audio/x-mpeg",
@@ -398,7 +398,7 @@
 };
 
 #ifdef CONFIG_MP3LAME
-AVOutputFormat mp3_oformat = {
+AVOutputFormat mp3_muxer = {
     "mp3",
     "MPEG audio layer 3",
     "audio/x-mpeg",
@@ -415,11 +415,11 @@
 
 int mp3_init(void)
 {
-    av_register_input_format(&mp3_iformat);
+    av_register_input_format(&mp3_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&mp2_oformat);
+    av_register_output_format(&mp2_muxer);
 #ifdef CONFIG_MP3LAME
-    av_register_output_format(&mp3_oformat);
+    av_register_output_format(&mp3_muxer);
 #endif
 #endif //CONFIG_MUXERS
     return 0;