http://trac.ffmpeg.org/ticket/5334