I found a note on Facebook where it says:
The Prophet (sallallahu 'alayhi wa sallam) forbade making vinegar out of wine, but he said that if you should come across vinegar that has been made from wine then it is halaal.
Is it so? I didn't find anything satisfactory in the Internet. If anyone knows about such a hadith, please share with me.