wamenc: handle failure to encode.