aboutsummaryrefslogtreecommitdiffstats
path: root/tools/enum_options.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-22 01:18:38 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-22 19:23:12 +0200
commit178eebd79e5bf3f4a4471576cd1a48bf9df59e09 (patch)
treee3f766f1e8c81fb58de459c5aafcb9b30311cd8e /tools/enum_options.c
parentf5495c970cf2a8745a2f4520d543cb215c06e545 (diff)
downloadffmpeg-178eebd79e5bf3f4a4471576cd1a48bf9df59e09.tar.gz
mpegts: handle AVMEDIA_TYPE_UNKNOWN correctly
It is negative, so can't be used for left shifting. This fixes ubsan runtime error: shift exponent -1 is negative Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'tools/enum_options.c')
0 files changed, 0 insertions, 0 deletions