diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-11 11:38:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-30 19:43:49 +0200 |
commit | 6a15b4d16c21eb12e7d126a962e2ee848fcc3bb1 (patch) | |
tree | cdf276ba574bfe115d808d67e88bc0444f78aca8 /libavformat | |
parent | b3825bd711235e883353a12f305f44ae20724f24 (diff) | |
download | ffmpeg-6a15b4d16c21eb12e7d126a962e2ee848fcc3bb1.tar.gz |
avformat/matroskadec: Use named constants instead of their value
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroskadec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index e6797b2f57..21f52ccab2 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -3038,7 +3038,8 @@ static int matroska_parse_tracks(AVFormatContext *s) } // add stream level stereo3d side data if it is a supported format if (track->video.stereo_mode < MATROSKA_VIDEO_STEREOMODE_TYPE_NB && - track->video.stereo_mode != 10 && track->video.stereo_mode != 12) { + track->video.stereo_mode != MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_CYAN_RED && + track->video.stereo_mode != MATROSKA_VIDEO_STEREOMODE_TYPE_ANAGLYPH_GREEN_MAG) { int ret = mkv_stereo3d_conv(st, track->video.stereo_mode); if (ret < 0) return ret; |