OSDN Git Service

mov: reject zero bytes_per_frame with non-zero samples_per_frame
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Tue, 26 May 2015 13:24:37 +0000 (14:24 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 31 May 2015 11:05:12 +0000 (13:05 +0200)
commitcffb9ea81bd16d2ed8bce187b6bf0279c07b3b9b
tree030477c8136b3b21363924c4168589adfdaf2bfe
parent8e9c39e81fe5ba34010a7ba05cbe4ae31f177d89
mov: reject zero bytes_per_frame with non-zero samples_per_frame

In this case the mov demuxer can return a large number of empty packets.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mov.c