In folder options I chose Media player for mp3 and Winamp for AAC and m3u. In winamp I chose AAC and m3u as default and in media player I unchecked mp3 as default because m3u is listed under that.

Now winamp plays m3u and media player plays mp3, exactly what I wanted.