Skip to content
Snippets Groups Projects
Commit 178eebd7 authored by Andreas Cadhalpun's avatar Andreas Cadhalpun
Browse files

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: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent f5495c97
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment