[FFmpeg-cvslog] r14951 - in trunk/libavformat: oggdec.c oggdec.h oggparseflac.c oggparseogm.c oggparsespeex.c oggparsetheora.c oggparsevorbis.c

reimar subversion
Sun Aug 24 19:37:44 CEST 2008


Author: reimar
Date: Sun Aug 24 19:37:43 2008
New Revision: 14951

Log:
Add ff_ prefix to ogg_codec_t structs

Modified:
   trunk/libavformat/oggdec.c
   trunk/libavformat/oggdec.h
   trunk/libavformat/oggparseflac.c
   trunk/libavformat/oggparseogm.c
   trunk/libavformat/oggparsespeex.c
   trunk/libavformat/oggparsetheora.c
   trunk/libavformat/oggparsevorbis.c

Modified: trunk/libavformat/oggdec.c
==============================================================================
--- trunk/libavformat/oggdec.c	(original)
+++ trunk/libavformat/oggdec.c	Sun Aug 24 19:37:43 2008
@@ -38,15 +38,15 @@
 #define DECODER_BUFFER_SIZE MAX_PAGE_SIZE
 
 static const ogg_codec_t * const ogg_codecs[] = {
-    &speex_codec,
-    &vorbis_codec,
-    &theora_codec,
-    &flac_codec,
-    &old_flac_codec,
-    &ogm_video_codec,
-    &ogm_audio_codec,
-    &ogm_text_codec,
-    &ogm_old_codec,
+    &ff_speex_codec,
+    &ff_vorbis_codec,
+    &ff_theora_codec,
+    &ff_flac_codec,
+    &ff_old_flac_codec,
+    &ff_ogm_video_codec,
+    &ff_ogm_audio_codec,
+    &ff_ogm_text_codec,
+    &ff_ogm_old_codec,
     NULL
 };
 

Modified: trunk/libavformat/oggdec.h
==============================================================================
--- trunk/libavformat/oggdec.h	(original)
+++ trunk/libavformat/oggdec.h	Sun Aug 24 19:37:43 2008
@@ -75,15 +75,15 @@ typedef struct ogg {
 #define OGG_FLAG_BOS  2
 #define OGG_FLAG_EOS  4
 
-extern const ogg_codec_t flac_codec;
-extern const ogg_codec_t ogm_audio_codec;
-extern const ogg_codec_t ogm_old_codec;
-extern const ogg_codec_t ogm_text_codec;
-extern const ogg_codec_t ogm_video_codec;
-extern const ogg_codec_t old_flac_codec;
-extern const ogg_codec_t speex_codec;
-extern const ogg_codec_t theora_codec;
-extern const ogg_codec_t vorbis_codec;
+extern const ogg_codec_t ff_flac_codec;
+extern const ogg_codec_t ff_ogm_audio_codec;
+extern const ogg_codec_t ff_ogm_old_codec;
+extern const ogg_codec_t ff_ogm_text_codec;
+extern const ogg_codec_t ff_ogm_video_codec;
+extern const ogg_codec_t ff_old_flac_codec;
+extern const ogg_codec_t ff_speex_codec;
+extern const ogg_codec_t ff_theora_codec;
+extern const ogg_codec_t ff_vorbis_codec;
 
 extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size);
 

Modified: trunk/libavformat/oggparseflac.c
==============================================================================
--- trunk/libavformat/oggparseflac.c	(original)
+++ trunk/libavformat/oggparseflac.c	Sun Aug 24 19:37:43 2008
@@ -85,13 +85,13 @@ old_flac_header (AVFormatContext * s, in
     return 0;
 }
 
-const ogg_codec_t flac_codec = {
+const ogg_codec_t ff_flac_codec = {
     .magic = "\177FLAC",
     .magicsize = 5,
     .header = flac_header
 };
 
-const ogg_codec_t old_flac_codec = {
+const ogg_codec_t ff_old_flac_codec = {
     .magic = "fLaC",
     .magicsize = 4,
     .header = old_flac_header

Modified: trunk/libavformat/oggparseogm.c
==============================================================================
--- trunk/libavformat/oggparseogm.c	(original)
+++ trunk/libavformat/oggparseogm.c	Sun Aug 24 19:37:43 2008
@@ -149,28 +149,28 @@ ogm_packet(AVFormatContext *s, int idx)
     return 0;
 }
 
-const ogg_codec_t ogm_video_codec = {
+const ogg_codec_t ff_ogm_video_codec = {
     .magic = "\001video",
     .magicsize = 6,
     .header = ogm_header,
     .packet = ogm_packet
 };
 
-const ogg_codec_t ogm_audio_codec = {
+const ogg_codec_t ff_ogm_audio_codec = {
     .magic = "\001audio",
     .magicsize = 6,
     .header = ogm_header,
     .packet = ogm_packet
 };
 
-const ogg_codec_t ogm_text_codec = {
+const ogg_codec_t ff_ogm_text_codec = {
     .magic = "\001text",
     .magicsize = 5,
     .header = ogm_header,
     .packet = ogm_packet
 };
 
-const ogg_codec_t ogm_old_codec = {
+const ogg_codec_t ff_ogm_old_codec = {
     .magic = "\001Direct Show Samples embedded in Ogg",
     .magicsize = 35,
     .header = ogm_dshow_header,

Modified: trunk/libavformat/oggparsespeex.c
==============================================================================
--- trunk/libavformat/oggparsespeex.c	(original)
+++ trunk/libavformat/oggparsespeex.c	Sun Aug 24 19:37:43 2008
@@ -54,7 +54,7 @@ static int speex_header(AVFormatContext 
     return 0;
 }
 
-const ogg_codec_t speex_codec = {
+const ogg_codec_t ff_speex_codec = {
     .magic = "Speex   ",
     .magicsize = 8,
     .header = speex_header

Modified: trunk/libavformat/oggparsetheora.c
==============================================================================
--- trunk/libavformat/oggparsetheora.c	(original)
+++ trunk/libavformat/oggparsetheora.c	Sun Aug 24 19:37:43 2008
@@ -130,7 +130,7 @@ theora_gptopts(AVFormatContext *ctx, int
     return iframe + pframe;
 }
 
-const ogg_codec_t theora_codec = {
+const ogg_codec_t ff_theora_codec = {
     .magic = "\200theora",
     .magicsize = 7,
     .header = theora_header,

Modified: trunk/libavformat/oggparsevorbis.c
==============================================================================
--- trunk/libavformat/oggparsevorbis.c	(original)
+++ trunk/libavformat/oggparsevorbis.c	Sun Aug 24 19:37:43 2008
@@ -219,7 +219,7 @@ vorbis_header (AVFormatContext * s, int 
     return os->seq < 3;
 }
 
-const ogg_codec_t vorbis_codec = {
+const ogg_codec_t ff_vorbis_codec = {
     .magic = "\001vorbis",
     .magicsize = 7,
     .header = vorbis_header




More information about the ffmpeg-cvslog mailing list