mpegvideoparse: avoid arithmetic on unset duration v0.10.23+ti
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 18 Dec 2012 15:12:42 +0000 (15:12 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 18 Dec 2012 15:12:42 +0000 (15:12 +0000)
commite8ae50074b84c5cc74e4eb9f221c75ea20705aad
treede56e77d27d00ca97de21af5c65dc8b543e924a1
parent6cd6910cc3f29f292a6aa3e19e136d45c3924661
mpegvideoparse: avoid arithmetic on unset duration

As duration may be unset here, scaling it should be avoided,
or code further using the scaled value will use it as valid.
gst/videoparsers/gstmpegvideoparse.c