[FFmpeg-cvslog] lavf/mkv: prefix video stereo arrays with ff_.

Clément Bœsch git at videolan.org
Sun Sep 16 04:37:35 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Sep 16 02:58:40 2012 +0200| [ca81e3b6e779d2e15c7e2ef28d150346833bd803] | committer: Clément Bœsch

lavf/mkv: prefix video stereo arrays with ff_.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca81e3b6e779d2e15c7e2ef28d150346833bd803
---

 libavformat/matroska.c    |    4 ++--
 libavformat/matroska.h    |    4 ++--
 libavformat/matroskadec.c |    4 ++--
 libavformat/matroskaenc.c |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index e13acff..fccacc7 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -104,7 +104,7 @@ const AVMetadataConv ff_mkv_metadata_conv[] = {
     { 0 }
 };
 
-const char * const matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT] = {
+const char * const ff_matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT] = {
     "mono",
     "left_right",
     "bottom_top",
@@ -122,7 +122,7 @@ const char * const matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT]
     "block_rl",
 };
 
-const char * const matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT] = {
+const char * const ff_matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT] = {
     "left",
     "right",
     "background",
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index 9af709f..8411633 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -260,7 +260,7 @@ typedef struct CodecTags{
 extern const CodecTags ff_mkv_codec_tags[];
 extern const CodecMime ff_mkv_mime_tags[];
 extern const AVMetadataConv ff_mkv_metadata_conv[];
-extern const char * const matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT];
-extern const char * const matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT];
+extern const char * const ff_matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT];
+extern const char * const ff_matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT];
 
 #endif /* AVFORMAT_MATROSKA_H */
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index c4e0438..e6ade11 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1729,7 +1729,7 @@ static int matroska_read_header(AVFormatContext *s)
 
             /* export stereo mode flag as metadata tag */
             if (track->video.stereo_mode && track->video.stereo_mode < MATROSKA_VIDEO_STEREO_MODE_COUNT)
-                av_dict_set(&st->metadata, "stereo_mode", matroska_video_stereo_mode[track->video.stereo_mode], 0);
+                av_dict_set(&st->metadata, "stereo_mode", ff_matroska_video_stereo_mode[track->video.stereo_mode], 0);
 
             /* if we have virtual track, mark the real tracks */
             for (j=0; j < track->operation.combine_planes.nb_elem; j++) {
@@ -1737,7 +1737,7 @@ static int matroska_read_header(AVFormatContext *s)
                 if (planes[j].type >= MATROSKA_VIDEO_STEREO_PLANE_COUNT)
                     continue;
                 snprintf(buf, sizeof(buf), "%s_%d",
-                         matroska_video_stereo_plane[planes[j].type], i);
+                         ff_matroska_video_stereo_plane[planes[j].type], i);
                 for (k=0; k < matroska->tracks.nb_elem; k++)
                     if (planes[j].uid == tracks[k].uid) {
                         av_dict_set(&s->streams[k]->metadata,
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 79ce9f5..f9a812b 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -614,7 +614,7 @@ static int mkv_write_tracks(AVFormatContext *s)
                     uint64_t st_mode = MATROSKA_VIDEO_STEREO_MODE_COUNT;
 
                     for (j=0; j<MATROSKA_VIDEO_STEREO_MODE_COUNT; j++)
-                        if (!strcmp(tag->value, matroska_video_stereo_mode[j])){
+                        if (!strcmp(tag->value, ff_matroska_video_stereo_mode[j])){
                             st_mode = j;
                             break;
                         }



More information about the ffmpeg-cvslog mailing list