[FFmpeg-cvslog] libavcodec/videotoolboxenc: use the correct types for options
rcombs
git at videolan.org
Thu Dec 23 02:45:25 EET 2021
ffmpeg | branch: master | rcombs <rcombs at rcombs.me> | Sat Dec 18 14:35:17 2021 -0600| [802c0515067fa3f5a67feb56241789dfcfb1ad09] | committer: rcombs
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=802c0515067fa3f5a67feb56241789dfcfb1ad09
---
libavcodec/videotoolboxenc.c | 16 ++++++++--------
1 file 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;
More information about the ffmpeg-cvslog
mailing list