ffmpeg bug report: https://trac.ffmpeg.org/ticket/4956 ffmepg fix commit: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab