mirror of https://github.com/FFmpeg/FFmpeg.git
On some environments, a `bool` variable is of smaller size than `int`.
As AV_OPT_TYPE_BOOL is internally handled as sizeof(int), if a `bool`
option was set on such an environment, the memory of following
variables would be filled. Additionally, set values may be destroyed
by av_opt_copy().
Signed-off-by: TADANO Tokumei <aimingoff@pc.nifty.jp>
(cherry picked from commit 82faba8a6c
)
pull/390/head
parent
5c5d3e315e
commit
48afb43549
1 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue