summaryrefslogtreecommitdiff
path: root/libavcodec/videotoolboxenc.c
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2021-12-18 14:35:17 -0600
committerrcombs <rcombs@rcombs.me>2021-12-22 18:43:34 -0600
commit802c0515067fa3f5a67feb56241789dfcfb1ad09 (patch)
tree7ada443d6267ce718bdff418114c2bb0942621b8 /libavcodec/videotoolboxenc.c
parentb04601ed6ab91c4f6f5cbe08050ea1e4d001cec4 (diff)
downloadffmpeg-802c0515067fa3f5a67feb56241789dfcfb1ad09.tar.gz
libavcodec/videotoolboxenc: use the correct types for options
These are all set by AV_OPT_TYPE_INT or AV_OPT_TYPE_BOOL; the only reason they worked before was that this is only used on little-endian.
Diffstat (limited to 'libavcodec/videotoolboxenc.c')
-rw-r--r--libavcodec/videotoolboxenc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index e33a16fab1..a2f5aa9be9 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -227,14 +227,14 @@ typedef struct VTEncContext {
int64_t dts_delta;
int64_t profile;
- int64_t level;
- int64_t entropy;
- int64_t realtime;
- int64_t frames_before;
- int64_t frames_after;
-
- int64_t allow_sw;
- int64_t require_sw;
+ int level;
+ int entropy;
+ int realtime;
+ int frames_before;
+ int frames_after;
+
+ int allow_sw;
+ int require_sw;
double alpha_quality;
bool flushing;