diff options
author | James Almer <jamrial@gmail.com> | 2016-10-12 16:51:39 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-10-12 18:26:22 -0300 |
commit | dc781459cc1a927a944c709c4cb400bb953a4f45 (patch) | |
tree | 4bc92c4f7e050f1487e05545d0d387d497d770da | |
parent | 932bbfc5d8ae43e73bf432cd1f7e28ccf16d14d0 (diff) | |
download | ffmpeg-dc781459cc1a927a944c709c4cb400bb953a4f45.tar.gz |
avformat/matroska: fix MatroskaVideoFieldOrder enum values
The spec says
9: Interlaced with bottom field displayed first and top field stored first
14: Interlaced with top field displayed first and bottom field stored first
And avcodec.h states
AV_FIELD_TB, //< Top coded first, bottom displayed first
AV_FIELD_BT, //< Bottom coded first, top displayed first
Reviewed-by: Dave Rice <dave@dericed.com>
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/matroska.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 1ff76e6667..15e401c3d3 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -286,8 +286,8 @@ typedef enum { MATROSKA_VIDEO_FIELDORDER_UNDETERMINED = 2, MATROSKA_VIDEO_FIELDORDER_TT = 1, MATROSKA_VIDEO_FIELDORDER_BB = 6, - MATROSKA_VIDEO_FIELDORDER_BT = 9, - MATROSKA_VIDEO_FIELDORDER_TB = 14, + MATROSKA_VIDEO_FIELDORDER_TB = 9, + MATROSKA_VIDEO_FIELDORDER_BT = 14, } MatroskaVideoFieldOrder; typedef enum { |