Fixes ticket #2956. Signed-off-by: Swaraj Hota <swarajhota353@gmail.com> Signed-off-by: Peter Ross <pross@xvid.org>