diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-09-16 02:58:40 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-09-16 02:58:40 +0200 |
commit | ca81e3b6e779d2e15c7e2ef28d150346833bd803 (patch) | |
tree | 7e180748c8b8d659c519bb6a95a8ba4b3a5c31ce /libavformat | |
parent | 8b052207271cddc175e01c05af8c0b05e24d117c (diff) | |
download | ffmpeg-ca81e3b6e779d2e15c7e2ef28d150346833bd803.tar.gz |
lavf/mkv: prefix video stereo arrays with ff_.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroska.c | 4 | ||||
-rw-r--r-- | libavformat/matroska.h | 4 | ||||
-rw-r--r-- | libavformat/matroskadec.c | 4 | ||||
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c index e13acff4f8..fccacc7f68 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 9af709f215..8411633f0a 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 c4e0438c1d..e6ade11cea 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 79ce9f5cae..f9a812b83f 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; } |