Update for libav 0.8.6 (used on Ubuntu 13.04)
Fix missing frames for codecs with delay (like H.264)