building MLT: avdevice.h not found

When building MLT from GIT sources I receive an error that states that avdevice.h is not found for src/modules/avformat/factory.c. I changed the include definition from this :

#include avdevice.h

to this :

#include libavdevice/avdevice.h

(I removed the angle brackets here so the include would show).

The build proceeded smoothly to the end. The library works fine.

The error occurs on Ubuntu Jaunty. FFmpeg was built here.

Just FYI for anyone else who might run into that problem.