aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/librtmp.c
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:30 -0700
commitdb923b3fbd3af266f8484ac55cca149797c6e18e (patch)
tree40eb8f2033fe8e2ce54bd9af8daccd4beae22517 /libavformat/librtmp.c
parent0a155c57bd8eb92ccaf7f5857dc6ab276d235846 (diff)
downloadffmpeg-db923b3fbd3af266f8484ac55cca149797c6e18e.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> (cherry picked from commit 93e157f40f415119ea0f94b35596965e9870f863)
Diffstat (limited to 'libavformat/librtmp.c')
0 files changed, 0 insertions, 0 deletions