lwlibav: Fix a compilation with ffmpeg.

There is incompatibility of pointer data type.