Skip to content

Commit

Permalink
libavcodec/videotoolboxenc: use the correct types for options
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rcombs committed Dec 23, 2021
1 parent b04601e commit 802c051
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libavcodec/videotoolboxenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 802c051

Please sign in to comment.