OSDN Git Service

mov: validate time_scale
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 23 Oct 2016 14:38:52 +0000 (16:38 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 6 Nov 2016 23:51:49 +0000 (00:51 +0100)
commita398f054fdb9b0f0b5a91c231fba6ce014143f71
treec6b4e8582e13cfcf38656b3d7fb0b4655f627f3d
parentfc022e77eed66ccfd7ac1788ba23f790c6769dee
mov: validate time_scale

A negative timescale doesn't make sense and triggers assertions in
av_rescale_rnd.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavformat/mov.c