]> git.sesse.net Git - ffmpeg/commit
cmdutils: fix crash if no name for "ffmpeg -h protocol"
authorJun Zhao <barryjzhao@tencent.com>
Thu, 30 Jan 2020 14:03:17 +0000 (22:03 +0800)
committerJames Almer <jamrial@gmail.com>
Thu, 30 Jan 2020 15:50:22 +0000 (12:50 -0300)
commitb99ed6e4287ccc4dcaf3c5133e9ec62d4ddb5bc6
tree1444868ec14e92e7f4fac13558fa3dbde7dd85a6
parent863accbefa2b433adbdfe189438adb11abc276c6
cmdutils: fix crash if no name for "ffmpeg -h protocol"

fix crash when used the command like:
- ffmpeg -h protocol
- ffmpeg -h protocol=

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
fftools/cmdutils.c