diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-11 01:53:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-30 19:26:10 +0200 |
commit | 3fc9ed8497b93909c11e7189f7307a07897411d0 (patch) | |
tree | 4ce5640f8d045b4f1dcdd3e6bfbc31168feff3c7 /libavformat/matroskadec.c | |
parent | 088f08db717a2224e68060619b5a714513217c8d (diff) | |
download | ffmpeg-3fc9ed8497b93909c11e7189f7307a07897411d0.tar.gz |
avformat/matroska: Move ff_matroska_video_stereo_plane to demuxer
Only used there.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 49950956b6..c6042eed2b 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -824,6 +824,12 @@ static const CodecMime mkv_mime_tags[] = { {"" , AV_CODEC_ID_NONE} }; +static const char * const matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT] = { + "left", + "right", + "background", +}; + static const char *const matroska_doctypes[] = { "matroska", "webm" }; /* @@ -2991,7 +2997,7 @@ static int matroska_parse_tracks(AVFormatContext *s) if (planes[j].type >= MATROSKA_VIDEO_STEREO_PLANE_COUNT) continue; snprintf(buf, sizeof(buf), "%s_%d", - ff_matroska_video_stereo_plane[planes[j].type], i); + matroska_video_stereo_plane[planes[j].type], i); for (k=0; k < matroska->tracks.nb_elem; k++) if (planes[j].uid == tracks[k].uid && tracks[k].stream) { av_dict_set(&tracks[k].stream->metadata, |