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

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Oct 22 20:24:45 EEST 2016


On 22.10.2016 11:41, Michael Niedermayer wrote:
> 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

Pushed.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list