[FFmpeg-devel] [PATCH v2] configure: Clearer documentation for "disable-safe-bitstream-reader"

Michael Niedermayer michael at niedermayer.cc
Thu Apr 10 20:05:04 EEST 2025


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index bd4f8723760..f1db8b6f235 100755
--- a/configure
+++ b/configure
@@ -436,7 +436,8 @@ Advanced options (experts only):
   --enable-hardcoded-tables use hardcoded tables instead of runtime generation
   --disable-safe-bitstream-reader
                            disable buffer boundary checking in bitreaders
-                           (faster, but may crash)
+                           (This disables some security checks and can cause undefined behavior,
+                            it may be faster, but should only be used with trusted input)
   --sws-max-filter-size=N  the max filter size swscale uses [$sws_max_filter_size_default]
 
 Optimization options (experts only):
-- 
2.49.0



More information about the ffmpeg-devel mailing list