aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/codec_par.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-26 00:59:21 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-10-03 01:58:37 +0200
commitea14e8bc3028c746290528869600249c7229bd62 (patch)
tree567cbbf874b3c04552e1b88c93572cfcdd72a41c /libavcodec/codec_par.h
parentdd48e49d5476178db2478598dbcccccf84923d13 (diff)
downloadffmpeg-ea14e8bc3028c746290528869600249c7229bd62.tar.gz
avcodec/codec_par: Move enum AVFieldOrder to defs.h
It is also used by AVCodecContext. Reviewed-by: James Almer <jamrial@gmail.com> Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/codec_par.h')
-rw-r--r--libavcodec/codec_par.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavcodec/codec_par.h b/libavcodec/codec_par.h
index add90fdb1e..c1679ea042 100644
--- a/libavcodec/codec_par.h
+++ b/libavcodec/codec_par.h
@@ -29,21 +29,13 @@
#include "libavutil/pixfmt.h"
#include "codec_id.h"
+#include "defs.h"
/**
* @addtogroup lavc_core
* @{
*/
-enum AVFieldOrder {
- AV_FIELD_UNKNOWN,
- AV_FIELD_PROGRESSIVE,
- AV_FIELD_TT, ///< Top coded_first, top displayed first
- AV_FIELD_BB, ///< Bottom coded first, bottom displayed first
- AV_FIELD_TB, ///< Top coded first, bottom displayed first
- AV_FIELD_BT, ///< Bottom coded first, top displayed first
-};
-
/**
* This struct describes the properties of an encoded stream.
*