[FFmpeg-devel] [PATCH] mpegts: handle AVMEDIA_TYPE_UNKNOWN correctly

Michael Niedermayer michael at niedermayer.cc
Sat Oct 22 12:41:48 EEST 2016


On Sat, Oct 22, 2016 at 01:22:21AM +0200, Andreas Cadhalpun wrote:
> It is negative, so can't be used for left shifting.
> 
> This fixes ubsan runtime error: shift exponent -1 is negative
> 
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
>  libavformat/mpegts.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

should be ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161022/eee628e1/attachment.sig>


More information about the ffmpeg-devel mailing list