It is used to provide meaningful error messages. Originally committed as revision 24714 to svn://svn.ffmpeg.org/ffmpeg/trunk