On 2025-07-31 01:06 pm, 1+1=10 wrote:
If max_packet_size is -1, a crash will occur in the ffio_fdopen function due to malloc(-1), but max_packet_size is initialized to 0 in the url_alloc_for_protocol function. If it is not customized to -1, this situation should not occur.
But your added option allows the user to set it to an invalid value. Rectify that.
Regards, Gyan _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".