Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 646739a0a8368bd234ff077c093bbf01e9e7f44a)
Originally committed as revision 25017 to svn://svn.ffmpeg.org/ffmpeg/trunk