Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Based on patch by Reinhard Tartler <siretart tauware de> Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk