When the focal length of a photographic lens is less than a first focal
length, a dimming correction amount deltaY is set to a certain minus
value (deltaYW=-WddY) (S100, S150). When the focal length is greater than
a second focal length, the dimming correction amount deltaY is set to a
dimming correction amount deltaYT for a longer focus side (S110, S160).
For the focal length falling between the first and second focal lengths,
the dimming correction amounts deltaY is calculated with the deltaYW and
the deltaYT being weighted and mixed according to focal-length
information. Accordingly, even when a photographic lens having a short
focal length is used, flashing can always be controlled stably with
accuracy.