aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffyuv.h
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2018-07-04 09:05:22 +0200
committerAman Gupta <aman@tmm1.net>2018-07-19 09:26:01 -0700
commit93e157f40f415119ea0f94b35596965e9870f863 (patch)
treede69adaa2875578234132927b5d0dbe05dae92f8 /libavcodec/huffyuv.h
parent37644f047703aab4562429d9e4441ba6b4eab8ca (diff)
downloadffmpeg-93e157f40f415119ea0f94b35596965e9870f863.tar.gz
avcodec/videotoolboxenc: fix undefined behavior with rc_max_rate=0
On macOS, a zero rc_max_rate cause an error from VTSessionSetProperty(kVTCompressionPropertyKey_DataRateLimits). on iOS (depending on device/version), a zero rc_max_rate cause invalid arguments from the vtenc_output_callback after few frames and then a crash within the VideoToolbox library. Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/huffyuv.h')
0 files changed, 0 insertions, 0 deletions