xbmc/xbmc — pull request #851 by aballier (2012-04-05 14:10:14+00:00)
Title: Bring av_read_frame_flush in line with ffmpeg git.

Current version failed to build with ffmpeg git. This patch uses the new code when we are building against libavformat 54.

Maybe it would be a better idea to find another method but meanwhile this fixes xbmc to work with external ffmpeg git.